[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/bin
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2008-05-28 23:13:14
Message-ID: 1212016394.802465.10800.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 813956 by sengels:

fix file not existing errors
CCMAIL: Drakia@gmail.com

 M  +1 -1      utils.py  


--- trunk/kdesupport/emerge/bin/utils.py #813955:813956
@@ -672,7 +672,7 @@
                             warning( "file %s has different hash: %s %s, run with \
option --forced to delete it anyway" % ( os.path.normcase( a ), hash, b ) )  if \
                forced:
                                 os.remove( os.path.join( rootdir, os.path.normcase( \
                a ) ) )
-                    else:
+                    elif not os.path.isdir( os.path.join( rootdir, os.path.normcase( \
                a ) ) ):
                         warning( "file %s is not existing" % ( os.path.normcase( a ) \
) )  fptr.close()
                 os.remove( os.path.join( rootdir, "manifest", file ) )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic