[Pkg-bazaar-commits] ./bzr-gtk/unstable r583: Extension of fix from bug 244308 to cover removable drives - bug 250804

Dennis Miller millerdl at telusplanet.net
Fri Apr 10 07:50:29 UTC 2009


------------------------------------------------------------
revno: 583
committer: Dennis Miller <millerdl at telusplanet.net>
branch nick: drive
timestamp: Sat 2008-08-02 18:08:00 -0600
message:
  Extension of fix from bug 244308 to cover removable drives - bug 250804
modified:
  olive/__init__.py
-------------- next part --------------
=== modified file 'olive/__init__.py'
--- a/olive/__init__.py	2008-07-25 19:54:31 +0000
+++ b/olive/__init__.py	2008-08-03 00:08:00 +0000
@@ -1378,7 +1378,8 @@
         driveletters = []
         for drive in string.ascii_uppercase:
             if win32file.GetDriveType(drive+':') == win32file.DRIVE_FIXED or\
-                win32file.GetDriveType(drive+':') == win32file.DRIVE_REMOTE:
+                win32file.GetDriveType(drive+':') == win32file.DRIVE_REMOTE or\
+                win32file.GetDriveType(drive+':') == win32file.DRIVE_REMOVABLE:
                 driveletters.append(drive+':')
         return driveletters
     



More information about the Pkg-bazaar-commits mailing list