1
0
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:
Daniel Mach 2023-01-04 20:19:56 +01:00
parent c77e193bdb
commit acbb040137

View File

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