Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 634300 | Differences between
and this patch

Collapse All | Expand All

(-)i/ipkg.py (-2 / +2 lines)
Lines 36-45 import tempfile Link Here
36
import os
36
import os
37
import sys
37
import sys
38
import glob
38
import glob
39
import md5
40
import re
39
import re
41
import string
40
import string
42
import commands
41
import commands
42
from hashlib import md5
43
from stat import ST_SIZE
43
from stat import ST_SIZE
44
44
45
class Version:
45
class Version:
Lines 136-142 class Package: Link Here
136
136
137
            # compute the MD5.
137
            # compute the MD5.
138
            f = open(fn, "r")
138
            f = open(fn, "r")
139
            sum = md5.new()
139
            sum = md5()
140
            while 1:
140
            while 1:
141
                data = f.read(1024)
141
                data = f.read(1024)
142
                if not data: break
142
                if not data: break

Return to bug 634300