Commits

Steve Borho committed 686f460

sync: no parent is available in parseurl (fixes #1216)

  • Participants
  • Parent commits bc5761e
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/sync.py

             port = m.group(3)
             folder = m.group(5) or '.'
         else:
-            qtlib.WarningMsgBox(_('Malformed ssh URL'), hglib.tounicode(path),
-                                parent=self)
+            qtlib.WarningMsgBox(_('Malformed ssh URL'), hglib.tounicode(path))
             host, port, folder = '', '', ''
     elif path.startswith(('http://', 'https://', 'svn+https://')):
         snpaqf = urlparse.urlparse(path)