projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87da2e7
)
BUGFIX: undefined attribute
92/136192/1
author
Junghyun Kim
<jh0822.kim@samsung.com>
Wed, 28 Jun 2017 10:52:07 +0000
(19:52 +0900)
committer
Junghyun Kim
<jh0822.kim@samsung.com>
Wed, 28 Jun 2017 10:52:07 +0000
(19:52 +0900)
PROBLEM:
- AttributeError: GitObsMapping instance has no attribute 'cur_OBS_staging_project'
SOLUTION:
- assign "" at the initialization
Change-Id: I00389c3cf40a188b984e70dcb438a022e9fe7a3e
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
common/git_obs_mapping.py
patch
|
blob
|
history
diff --git
a/common/git_obs_mapping.py
b/common/git_obs_mapping.py
index
4d6e332
..
eb482e6
100644
(file)
--- a/
common/git_obs_mapping.py
+++ b/
common/git_obs_mapping.py
@@
-35,6
+35,8
@@
class GitObsMapping:
self.cur_project = ""
self.cur_default = 0
self.cur_submission = "Y"
+ self.cur_OBS_staging_project = ""
+ self.cur_OBS_project = ""
for root,dirs,files in os.walk(prjdir):
for f in files: