Commits

Yuya Nishihara committed 3a959bf

sync: getOpenFileName without keyword argument (CentOs 6.3)

  • Participants
  • Parent commits 4092ba5
  • Branches stable

Comments (0)

Files changed (1)

tortoisehg/hgqt/sync.py

         caption = _("Select bundle file")
         _FILE_FILTER = ';;'.join([_("Bundle files (*.hg)"),
                                   _("All files (*)")])
-        bundlefile = QFileDialog.getOpenFileName(parent=self, caption=caption,
-                                    directory=hglib.tounicode(self.repo.root),
-                                    filter=_FILE_FILTER)
+        bundlefile = QFileDialog.getOpenFileName(
+            self, caption, hglib.tounicode(self.repo.root), _FILE_FILTER)
         if bundlefile:
             # Set the pull source to the selected bundle file
             self.urlentry.setText(bundlefile)