]> git.pld-linux.org Git - packages/apport.git/blame - apport-rpm-platform.patch
- release 2 (fix qt dep)
[packages/apport.git] / apport-rpm-platform.patch
CommitLineData
ce54a995
PZ
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.063654 seconds and 4 git commands to generate.