[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Added .mar extension to the upload_files regexp (see #3).



commit 461278ee3ab48dc05d8529cc0be8677f20f64a84
Author: ilv <ilv@xxxxxxxxxxxxxxxxxxxxxxxx>
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))



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits