Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

about: replace all relative imports

Changeset 9689a58883c2

Parent 229dec8ef9a6

by Steve Borho

Changes to one file · Browse files at 9689a58883c2 Showing diff from parent 229dec8ef9a6 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​about.py Stacked
 
7
8
9
 
 
10
11
12
13
14
 
 
15
16
17
18
19
20
 
64
65
66
67
68
69
70
 
7
8
9
10
11
12
13
14
15
 
16
17
18
19
 
20
21
22
 
66
67
68
 
69
70
71
@@ -7,14 +7,16 @@
 import os  import sys  import gtk +import threading +  from thgutil.i18n import _  from thgutil.hglib import hgversion  from thgutil import shlib  from thgutil import paths -from hggtk import gtklib + +from hggtk import gtklib, hgtk    def browse_url(url): - import threading   def start_browser():   if os.name == 'nt':   import win32api, win32con @@ -64,7 +66,6 @@
  license_file = paths.get_license_path()   self.set_license(file(license_file).read())   except IOError: - import hgtk   license = hgtk.shortlicense.splitlines()[1:]   self.set_license('\n'.join(license))