From acbb040137e653f802d0ed4921dc3d07559b2304 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Wed, 4 Jan 2023 20:19:56 +0100 Subject: [PATCH] pull: Remove a workdir check that is covered by Package object already --- osc/commandline.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index c3071e36..082ec5fc 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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: