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

22 Sep
2015
22 Sep
'15
11:39 p.m.
commit 461278ee3ab48dc05d8529cc0be8677f20f64a84 Author: ilv <ilv@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))
3577
Age (days ago)
3577
Last active (days ago)
0 comments
1 participants
participants (1)
-
ilv@torproject.org