1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

fix crash on missing initialisation

This commit is contained in:
Adrian Schröter 2011-01-08 15:06:36 +01:00
parent db9e7c7974
commit 8bad2ed16b

View File

@ -3724,6 +3724,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
else:
project, package, repository, arch = args
offset=0
if subcmd == "rblt" or subcmd == "rbuildlogtail" or subcmd == "remotebuildlogtail":
query = { 'view': 'entry' }
u = makeurl(self.get_api_url(), ['build', project, repository, arch, package, '_log'], query=query)