Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] Patch for osc core.py
  • From: Michal Vyskocil <mvyskocil@xxxxxxx>
  • Date: Mon, 25 May 2009 15:12:01 +0200
  • Message-id: <200905251512.01459.mvyskocil@xxxxxxx>
On Saturday 23 of May 2009 22:09:49 Christian wrote:
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

Remove of comments should make a sense, but not sure what about '-----'.
Aren't they a part of %description?

Regards
Michal Vyskocil
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References