Matěj Cepl
2013-10-31 21:06:34 UTC
Add a proper value to the proper place, where we intialize this
variable.
This is still https://gitorious.org/be/be/merge_requests/18 (rebased to
the current master), which I believe should be finammly merged and
merge-request closed, don't you think so?
If you cannot do it, who can?
Best,
Mat?j
---
libbe/command/import_xml.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libbe/command/import_xml.py b/libbe/command/import_xml.py
index fbf456b..f735326 100644
--- a/libbe/command/import_xml.py
+++ b/libbe/command/import_xml.py
@@ -107,7 +107,8 @@ class Import_XML (libbe.command.Command):
libbe.command.util.bugdir_bug_comment_from_user_id(
bugdirs, params['root']))
else:
- root_bugdir,root_bug,root_comment = (None, None, None)
+ root_bugdir, root_bug, root_comment = (bugdirs.values()[0],
+ None, None)
xml = self._read_xml(storage, params)
version,root_bugdirs,root_bugs,root_comments = self._parse_xml(
variable.
This is still https://gitorious.org/be/be/merge_requests/18 (rebased to
the current master), which I believe should be finammly merged and
merge-request closed, don't you think so?
If you cannot do it, who can?
Best,
Mat?j
---
libbe/command/import_xml.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libbe/command/import_xml.py b/libbe/command/import_xml.py
index fbf456b..f735326 100644
--- a/libbe/command/import_xml.py
+++ b/libbe/command/import_xml.py
@@ -107,7 +107,8 @@ class Import_XML (libbe.command.Command):
libbe.command.util.bugdir_bug_comment_from_user_id(
bugdirs, params['root']))
else:
- root_bugdir,root_bug,root_comment = (None, None, None)
+ root_bugdir, root_bug, root_comment = (bugdirs.values()[0],
+ None, None)
xml = self._read_xml(storage, params)
version,root_bugdirs,root_bugs,root_comments = self._parse_xml(
--
1.8.4.1.600.g3d092bf
1.8.4.1.600.g3d092bf