mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 05:38:43 +02:00
- fixed #469167 (don't scare users if they want to commit a nonexistent file ;) )
- removed class UnreadableFile: I don't know why it was introduced at all but it doesn't make any sense => use IOError instead
This commit is contained in:
@@ -77,10 +77,6 @@ def run(prg):
|
||||
print >>sys.stderr, 'Link cannot be expanded:\n', e
|
||||
return 1
|
||||
|
||||
except oscerr.UnreadableFile, e:
|
||||
print >>sys.stderr, e.msg
|
||||
return 1
|
||||
|
||||
except (oscerr.NoWorkingCopy, oscerr.WorkingCopyWrongVersion), e:
|
||||
print >>sys.stderr, e
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user