[tor-commits] [gettor/master] Fixed format for get_bundle_info. Related to #3 too.
ilv at torproject.org
ilv at torproject.org
Tue Sep 22 23:39:13 UTC 2015
commit 72e7ae69abca281cb4c9c0bc27b1f42c2964e42c
Author: ilv <ilv at users.noreply.github.com>
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)
More information about the tor-commits
mailing list