Blame SOURCES/BZ-1134989-post-transaction-actions-allow-colons.patch
|
|
74e468 |
commit 8b046d7d18e0f582d9f703336d5c25a71cf02966
|
|
|
74e468 |
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
|
|
|
74e468 |
Date: Thu Aug 28 18:18:53 2014 +0200
|
|
|
74e468 |
|
|
|
74e468 |
yum-post-transaction-actions: allow colons in command part. BZ 1134989
|
|
|
74e468 |
|
|
|
74e468 |
diff --git a/plugins/post-transaction-actions/post-transaction-actions.py b/plugins/post-transaction-actions/post-transaction-actions.py
|
|
|
74e468 |
index 4d015c1..d59dc40 100644
|
|
|
74e468 |
--- a/plugins/post-transaction-actions/post-transaction-actions.py
|
|
|
74e468 |
+++ b/plugins/post-transaction-actions/post-transaction-actions.py
|
|
|
74e468 |
@@ -51,7 +51,7 @@ def parse_actions(ddir, conduit):
|
|
|
74e468 |
line = line.strip()
|
|
|
74e468 |
if line and line[0] != "#":
|
|
|
74e468 |
try:
|
|
|
74e468 |
- (a_key, a_state, a_command) = line.split(':')
|
|
|
74e468 |
+ (a_key, a_state, a_command) = line.split(':', 2)
|
|
|
74e468 |
except ValueError,e:
|
|
|
74e468 |
conduit.error(2,'Bad Action Line: %s' % line)
|
|
|
74e468 |
continue
|