Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiSabler <dissy@ya.ru>2014-06-12 15:57:48 +0400
committerdiSabler <dissy@ya.ru>2014-06-12 15:57:48 +0400
commit1294a0542c047072190d146eaada450bb65244ad (patch)
treef4fffcee22817f517141340786eec9014b7576b2 /plugins
parentaff43b78c525740879b68ab291eb8cc9c265d81c (diff)
fix: dist dump
fix: svn command
Diffstat (limited to 'plugins')
-rw-r--r--plugins/svn.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/svn.py b/plugins/svn.py
index 3bc95da..73c36bc 100644
--- a/plugins/svn.py
+++ b/plugins/svn.py
@@ -27,6 +27,7 @@ def svn_get(type, jid, nick,text):
count,revn = 1,0
if '-v' in text.split(): text,verb = reduce_spaces_all(text.replace('-v','')),True
else: verb = False
+ text = ''.join(re.findall('[-a-z/:.0-9]+', text, re.S+re.I+re.U))
if ' ' in text:
text = text.split(' ')
url = text[0]