1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-02 17:56:15 +01:00

only catch http error, other exceptions are bugs

This commit is contained in:
Ludwig Nussel 2011-02-04 10:14:30 +01:00
parent 99ce83352c
commit ba3bed8ecc

View File

@ -5066,7 +5066,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
for r in requests:
print r.list_view(), '\n'
return
except:
except urllib2.HTTPError, e:
if e.code == 400:
# skip it ... try again with old style below
pass