File: SyntaxWarning.patch

package info (click to toggle)
vmm 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,844 kB
  • sloc: python: 4,710; makefile: 217; sh: 172
file content (11 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/VirtualMailManager/handler.py
+++ b/VirtualMailManager/handler.py
@@ -52,7 +52,7 @@
 
 CFG_FILE = 'vmm.cfg'
 CFG_PATH = '/etc/vmm'
-RE_DOMAIN_SEARCH = """^[a-z0-9-\.]+$"""
+RE_DOMAIN_SEARCH = r"""^[a-z0-9-\.]+$"""
 OTHER_TYPES = {
     TYPE_ACCOUNT: (_('an account'), ACCOUNT_EXISTS),
     TYPE_ALIAS: (_('an alias'), ALIAS_EXISTS),