1
0
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:
Marcus Hüwe
2009-02-12 13:11:32 +00:00
parent 0dc31b96b7
commit c3136c8bf5
3 changed files with 3 additions and 14 deletions

View File

@@ -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