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

[tor-commits] [gettor/master] Fixed format for get_bundle_info. Related to #3 too.



commit 72e7ae69abca281cb4c9c0bc27b1f42c2964e42c
Author: ilv <ilv@xxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Sun Nov 16 13:37:30 2014 -0300

    Fixed format for get_bundle_info. Related to #3 too.
---
 dropbox.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dropbox.py b/dropbox.py
index 5393487..65a8c45 100644
--- a/dropbox.py
+++ b/dropbox.py
@@ -50,7 +50,7 @@ def get_bundle_info(file):
 
     """
     m = re.search(
-        'tor-browser-(\w+)(\d\d)-\d\.\d\.\d_(\w\w)-\w+\.tar\.xz',
+        'tor-browser-(\w+)(\d\d)-\d\.\d\.\d_(\w\w)(-\w\w)?(\.tar\.xz|\.mar)',
         file)
     if m:
         os = m.group(1)



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