# HG changeset patch # User Alexis S. L. Carvalho # Date 2007-06-25 21:52:12 # Node ID 96614af3c6791ea96b296746f579a2f4eddaa309 # Parent 72fb6f10fac10cba75b055572249776037605a42 convert: "unknown" is a string diff --git a/hgext/convert/git.py b/hgext/convert/git.py --- a/hgext/convert/git.py +++ b/hgext/convert/git.py @@ -82,7 +82,7 @@ class convert_git(converter_source): tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:] tz = -int(tzs) * (int(tzh) * 3600 + int(tzm)) date = tm + " " + str(tz) - author = author or unknown + author = author or "unknown" c = commit(parents=parents, date=date, author=author, desc=message) return c