Use r'' for regex.
authorZac Medico <zmedico@gentoo.org>
Mon, 17 Jan 2011 20:55:33 +0000 (12:55 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 17 Jan 2011 20:55:33 +0000 (12:55 -0800)
pym/portage/dbapi/vartree.py

index 4f415a111650035185703e9c45b58d86fbdb2322..e0f17544b21afc25a73ff49b7c17aa5af435da5d 100644 (file)
@@ -1197,7 +1197,7 @@ class dblink(object):
                r'(?P<dir>(dev|dir|fif) (.+))|' + \
                r'(?P<obj>(obj) (.+) (\S+) (\d+))|' + \
                r'(?P<sym>(sym) (.+) -> (.+) ((\d+)|(?P<oldsym>(' + \
-               '\(\d+, \d+L, \d+L, \d+, \d+, \d+, \d+L, \d+, (\d+), \d+\)))))' + \
+               r'\(\d+, \d+L, \d+L, \d+, \d+, \d+, \d+L, \d+, (\d+), \d+\)))))' + \
                r')$'
        )