mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 22:56:15 +01:00
pull: Remove a workdir check that is covered by Package object already
This commit is contained in:
parent
c77e193bdb
commit
acbb040137
@ -8682,8 +8682,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
Merge the changes of the link target into your working copy
|
||||
"""
|
||||
|
||||
if not is_package_dir('.'):
|
||||
raise oscerr.NoWorkingCopy('Error: \'%s\' is not an osc working copy.' % os.path.abspath('.'))
|
||||
p = Package('.')
|
||||
# check if everything is committed
|
||||
for filename in p.filenamelist:
|
||||
|
Loading…
Reference in New Issue
Block a user