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

github.com/isida/3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiSabler <dissy@ya.ru>2014-06-12 16:08:46 +0400
committerdiSabler <dissy@ya.ru>2014-06-12 16:08:46 +0400
commit9564de9eff633fc2c197c687fb3fabbf9a58b0f4 (patch)
treef9829aa30462d617ce091146daea60106d076251
parent0e38970bf8c00b3fe08ae07354ef845af7dd52ca (diff)
fix: svn command
-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..b0636dc 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]