fix up debugging statements
This commit is contained in:
parent
3591aec862
commit
c48c1d4fd6
|
@ -170,11 +170,11 @@ class Terminal(gtk.VBox):
|
||||||
urlpath = "/[" + pathchars + "]*[^]'.}>) \t\r\n,\\\"]"
|
urlpath = "/[" + pathchars + "]*[^]'.}>) \t\r\n,\\\"]"
|
||||||
|
|
||||||
if posix:
|
if posix:
|
||||||
dbg ('update_url_matches: Trying POSIX URL regexps')
|
dbg ('Terminal::update_url_matches: Trying POSIX URL regexps')
|
||||||
lboundry = "[[:<:]]"
|
lboundry = "[[:<:]]"
|
||||||
rboundry = "[[:>:]]"
|
rboundry = "[[:>:]]"
|
||||||
else: # GNU
|
else: # GNU
|
||||||
dbg ('update_url_matches: Trying GNU URL regexps')
|
dbg ('Terminal::update_url_matches: Trying GNU URL regexps')
|
||||||
lboundry = "\\<"
|
lboundry = "\\<"
|
||||||
rboundry = "\\>"
|
rboundry = "\\>"
|
||||||
|
|
||||||
|
@ -184,10 +184,10 @@ class Terminal(gtk.VBox):
|
||||||
|
|
||||||
if self.matches['full_uri'] == -1:
|
if self.matches['full_uri'] == -1:
|
||||||
if posix:
|
if posix:
|
||||||
err ('update_url_matches: POSIX match failed, trying GNU')
|
err ('Terminal::update_url_matches: POSIX match failed, trying GNU')
|
||||||
self.update_url_matches(posix = False)
|
self.update_url_matches(posix = False)
|
||||||
else:
|
else:
|
||||||
err ('update_url_matches: Failed adding URL match patterns')
|
err ('Terminal::update_url_matches: Failed adding URL match patterns')
|
||||||
else:
|
else:
|
||||||
self.matches['voip'] = self.vte.match_add(lboundry +
|
self.matches['voip'] = self.vte.match_add(lboundry +
|
||||||
'(callto:|h323:|sip:)' + "[" + userchars + "+][" +
|
'(callto:|h323:|sip:)' + "[" + userchars + "+][" +
|
||||||
|
|
Loading…
Reference in New Issue