made 'cannot remove old metadata dir' a non-fatal error.
authorSeth Vidal <skvidal@linux.duke.edu>
Mon, 20 Sep 2004 05:13:31 +0000 (05:13 +0000)
committerSeth Vidal <skvidal@linux.duke.edu>
Mon, 20 Sep 2004 05:13:31 +0000 (05:13 +0000)
It just warns.

genpkgmetadata.py

index b8f38c22eaf3dea7e322691c23f04bb94f397a21..62fd0c1ba13e6c32caeabe5ce267ee151a35d1d7 100755 (executable)
@@ -471,10 +471,11 @@ def main(args):
     except OSError, e:
         errorprint(_('Could not remove old metadata dir: %s') % cmds['olddir'])
         errorprint(_('Error was %s') % e)
+        errorprint(_('Please clean up this directory manually.'))
         os.chdir(curdir)
-        sys.exit(1)
         
-            
+        
+        
         
     # take us home mr. data
     os.chdir(curdir)