Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] Patch for osc core.py
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Sat, 23 May 2009 20:09:49 +0000
  • Message-id: <4A18580D.7020505@xxxxxxxxxxxxxxxx>
Hi,

sorry, but made a mistake. What I wanted is "continue" not "break" :)
Updated patch.

Ciao
Chris

Christian schrieb:
Hi,

for several "lines" I'm using in %description that should not imported
via 'updatepacmetafromspec'.
find attached

Kind Regards
Chris

--- core.py-orig 2009-04-28 07:09:08.000000000 +0000
+++ core.py 2009-05-23 19:56:55.000000000 +0000
@@ -1954,6 +1954,10 @@
for line in lines[start:]:
if line.startswith('%'):
break
+ elif line.startswith('#'):
+ continue
+ elif line.startswith('-----'):
+ continue
data.append(line)
spec_data[section] = data

< Previous Next >
Follow Ups
References