Commits

Anonymous committed 32ec7b9 Draft

Do not assume that self.paths will always have a path.

This may happen if remove_path is called and an IN_IGNORED or IN_MOVED_SELF
event is created.

Comments (0)

Files changed (1)

 
     @property
     def fullpath(self):
+        if not self.paths:
+            return None
         p = self.paths[0]
         if self.name:
             p += '/' + self.name