[tor-commits] [gettor/master] Added .mar extension to the	upload_files regexp (see #3).
    ilv at torproject.org 
    ilv at torproject.org
       
    Tue Sep 22 23:39:13 UTC 2015
    
    
  
commit 461278ee3ab48dc05d8529cc0be8677f20f64a84
Author: ilv <ilv at users.noreply.github.com>
Date:   Sun Nov 16 13:50:19 2014 -0300
    Added .mar extension to the upload_files regexp (see #3).
---
 dropbox.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dropbox.py b/dropbox.py
index 65a8c45..d0a600a 100644
--- a/dropbox.py
+++ b/dropbox.py
@@ -98,7 +98,7 @@ def upload_files(basedir, client):
     """
     files = []
 
-    p = re.compile('.*\.tar.xz$')
+    p = re.compile('.*(\.tar.xz|\.mar)$')
 
     for name in os.listdir(basedir):
         path = os.path.abspath(os.path.join(basedir, name))
    
    
More information about the tor-commits
mailing list