]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
Revert 30 seconds delay. Too annoying. Need to fix the cause of the problem.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Feb 2008 19:57:27 +0000 (19:57 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Feb 2008 19:57:27 +0000 (19:57 +0000)
Changed files:
    bin/pfa-from-incoming -> 1.14

bin/pfa-from-incoming

index a88ebcb32c210dd766a4280c38bbe74bcc58c5a1..1791f83e46b33148b8ea00374141b061538c0b91 100644 (file)
@@ -26,14 +26,7 @@ def mv(src, dst):
 def findfiles(dir):
     def filterinfos(x):
         if x[-11:]=='.uploadinfo':
-            mtime = os.stat(dir + '/' + x)[stat.ST_MTIME]
-            now = time.time()
-            # don't look into uploadinfo files for 30 seconds after scp
-            # note -- most likely this doesn't achieve anything
-            if now - mtime > 30:
-                return True
-            else:
-                return False
+            return True
         else:
             return False
     return filter(filterinfos, os.listdir(dir))
This page took 0.0452360000000001 seconds and 4 git commands to generate.