Skip to main content

Source code Changes To

pkg-gate / src / modules / server / repository.py

From revision 2973 to 2974:

diff -r 8c4b7bd87647 -r 753adc11f1a6 src/modules/server/repository.py
--- a/src/modules/server/repository.py	Tue Oct 29 09:27:00 2013 -0700
+++ b/src/modules/server/repository.py	Wed Oct 30 21:19:02 2013 -0700
@@ -631,6 +631,10 @@
                                 self.__lock.release()
                                 raise apx.ReadOnlyFileSystemException(
                                     e.filename)
+                        if e.errno == errno.EINVAL:
+                                self.__lock.release()
+                                raise apx.InvalidLockException(
+                                    e.filename)
 
                         self.__lock.release()
                         raise

 
 
Close
loading
Please Confirm
Close