mercurial/archival.py
changeset 29890 31a6d5e14508
parent 28861 86db5cb55d46
child 30479 798bcb1274dd
--- a/mercurial/archival.py	Tue Aug 30 09:22:53 2016 -0700
+++ b/mercurial/archival.py	Thu Sep 01 02:29:46 2016 +0530
@@ -231,7 +231,7 @@
         if islink:
             mode = 0o777
             ftype = _UNX_IFLNK
-        i.external_attr = (mode | ftype) << 16L
+        i.external_attr = (mode | ftype) << 16
         # add "extended-timestamp" extra block, because zip archives
         # without this will be extracted with unexpected timestamp,
         # if TZ is not configured as GMT