summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-07 00:31:36 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-07 00:31:36 +0000
commit5e6b89ef9e33beca2e6c70dc351e033e61285d09 (patch)
treefd084cf2fea0889b9dc3042b2dd6264cf317284d /urlinstall.py
parentcd43e2d4c9c5c44be10c8cff4addcd298ee173e7 (diff)
downloadanaconda-5e6b89ef9e33beca2e6c70dc351e033e61285d09.tar.gz
anaconda-5e6b89ef9e33beca2e6c70dc351e033e61285d09.tar.xz
anaconda-5e6b89ef9e33beca2e6c70dc351e033e61285d09.zip
fix future warnings (#117964)
Diffstat (limited to 'urlinstall.py')
-rw-r--r--urlinstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urlinstall.py b/urlinstall.py
index 1607bc091..a42fb5302 100644
--- a/urlinstall.py
+++ b/urlinstall.py
@@ -199,8 +199,8 @@ class UrlInstallMethod(InstallMethod):
hl = []
while (raw and len(raw)>0):
info = struct.unpack("iiii", raw)
- magic1 = socket.ntohl(info[0]) & 0xffffffff
- if (magic1 != 0x8eade801 or info[1]):
+ magic1 = socket.ntohl(info[0]) & 0xffffffffL
+ if (magic1 != 0x8eade801L or info[1]):
raise TypeError, "bad magic in header"
il = socket.ntohl(info[2])