summaryrefslogtreecommitdiff
path: root/hg-fast-export.py
diff options
context:
space:
mode:
Diffstat (limited to 'hg-fast-export.py')
-rwxr-xr-xhg-fast-export.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/hg-fast-export.py b/hg-fast-export.py
index 49b2add..076d432 100755
--- a/hg-fast-export.py
+++ b/hg-fast-export.py
@@ -23,9 +23,9 @@ def gitmode(flags):
return 'l' in flags and '120000' or 'x' in flags and '100755' or '100644'
def wr(msg=''):
- if msg == None:
- msg = ''
- print msg
+ if msg:
+ sys.stdout.write(msg)
+ sys.stdout.write('\n')
#map(lambda x: sys.stderr.write('\t[%s]\n' % x),msg.split('\n'))
def checkpoint(count):