]> git.pld-linux.org Git - packages/apport.git/blob - apport-rpm-platform.patch
- update to 1.108
[packages/apport.git] / apport-rpm-platform.patch
1 --- ubuntu/backends/packaging_rpm.py~   2007-07-14 16:59:17.000000000 +0200
2 +++ ubuntu/backends/packaging_rpm.py    2008-04-06 20:39:31.675388970 +0200
3 @@ -145,6 +145,8 @@
4          # XXX is there an rpmlib method for this?
5          f = open('/etc/rpm/platform')
6          line = f.readline()
7 +        while line == '' or line[0] == '#':
8 +            line = f.readline()
9          f.close()
10          (arch,vendor,os) = line.split('-')
11          return arch 
This page took 0.067906 seconds and 3 git commands to generate.