diff options
author | diSabler <dissy@ya.ru> | 2014-06-12 16:08:08 +0400 |
---|---|---|
committer | diSabler <dissy@ya.ru> | 2014-06-12 16:08:08 +0400 |
commit | d942adc60c2ad5287ae22ba65044bd725785eadf (patch) | |
tree | cc0a83bce5b9c148af4768c1f084590fd453b3a2 | |
parent | 1294a0542c047072190d146eaada450bb65244ad (diff) |
fix: svn command
-rw-r--r-- | plugins/svn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/svn.py b/plugins/svn.py index 73c36bc..b0636dc 100644 --- a/plugins/svn.py +++ b/plugins/svn.py @@ -27,7 +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)) + text = ''.join(re.findall('[-a-z\/\:\.0-9\ ]+', text, re.S+re.I+re.U)) if ' ' in text: text = text.split(' ') url = text[0] |