projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718f8c1
)
Update PRManager.py
author
Jay Cho
<chojoong@gmail.com>
Tue, 18 Sep 2018 06:20:27 +0000
(15:20 +0900)
committer
GitHub
<noreply@github.com>
Tue, 18 Sep 2018 06:20:27 +0000
(15:20 +0900)
tools/scripts/CodeChecker/PRManager.py
patch
|
blob
|
history
diff --git
a/tools/scripts/CodeChecker/PRManager.py
b/tools/scripts/CodeChecker/PRManager.py
index
3b4abdd
..
9035ff2
100644
(file)
--- a/
tools/scripts/CodeChecker/PRManager.py
+++ b/
tools/scripts/CodeChecker/PRManager.py
@@
-2,10
+2,9
@@
import os
from github import Github
gitHubRepo = "Samsung/TizenFX"
-token = os.environ['TizenAPI-Bot-Token']
class PRManager:
- def __init__(self, prNumber):
+ def __init__(self,
token,
prNumber):
self._gh = Github(token)
self.pr = self._gh.get_repo(gitHubRepo).get_pull(prNumber)
@@
-59,4
+58,4
@@
if __name__ == "__main__":
gh = PRManager(pr)
for file in gh.changedFiles:
print("Chaged File: " + file.filename)
-
\ No newline at end of file
+