File crmsh-cibadmin_can_patch.patch of Package crmsh

# HG changeset patch
# Parent edde9365afa66becafaea3b48d29d6c9a8268005
High: cibconfig: enable cibadmin patch functionality

diff -r edde9365afa6 -r 4155dbe91ca1 modules/utils.py
--- a/modules/utils.py	Thu Sep 12 15:20:35 2013 +0200
+++ b/modules/utils.py	Fri Sep 13 15:04:02 2013 +0200
@@ -1005,9 +1005,7 @@ def is_pcmk_118(cib_f=None):
 
 
 def cibadmin_can_patch():
-    # cibadmin -P doesn't handle comments, hopefully in v1.1.11
-    return False
-    #return is_min_pcmk_ver("1.1.11")
+    return True
 
 
 user_prefs = UserPrefs.getInstance()
openSUSE Build Service is sponsored by