Commits

Cédric Bonhomme  committed 92de71a

username of the configuration file is used for the commit.

  • Participants
  • Parent commits 88057e6

Comments (0)

Files changed (1)

 mask = pyinotify.IN_DELETE | pyinotify.IN_CREATE | pyinotify.IN_MODIFY | pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO
 
 class PTmp(pyinotify.ProcessEvent):
-    def __init__(self, url, username):
+    def __init__(self, url, local_url, username):
         """
         """
-        self.repo = hgsync.HgSync(url, ".", username)
+        self.repo = hgsync.HgSync(url, local_url, username)
         self.repo.clone()
         
         self.in_from = ""