Skip to content

Commit

Permalink
fixed osc branch with different srcprj or srcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
lethliel committed Apr 23, 2018
1 parent a30ac8f commit 89a1812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -3436,7 +3436,7 @@ def do_branch(self, subcmd, opts, *args):
devloc = None
if not exists and (srcprj != args[0] or srcpkg != args[1]):
try:
root = ET.fromstring(''.join(show_attribute_meta(apiurl, args[0], None, None,
root = ET.fromstring(b''.join(show_attribute_meta(apiurl, args[0], None, None,
conf.config['maintained_update_project_attribute'], False, False)))
# this might raise an AttributeError
uproject = root.find('attribute').find('value').text
Expand Down

0 comments on commit 89a1812

Please sign in to comment.