diff mercurial/archival.py @ 29890:31a6d5e14508

py3: remove use of *L syntax The int in Python 3 behaves as long so no need of L's in py3. Moreover we dont need long here.
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 01 Sep 2016 02:29:46 +0530
parents 86db5cb55d46
children 798bcb1274dd
line wrap: on
line diff
--- 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