summaryrefslogtreecommitdiffstats
path: root/src/lib/Options.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-07-10 14:43:23 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-07-10 14:43:23 +0000
commit49616bb1f40cdd48affd1cdbadf969d43407c250 (patch)
tree48590dbfee34e78b5ed4d76bf66a567ce68763b1 /src/lib/Options.py
parent70b361d82ac3be583fa141c57311a97d8b2ab285 (diff)
downloadbcfg2-49616bb1f40cdd48affd1cdbadf969d43407c250.tar.gz
bcfg2-49616bb1f40cdd48affd1cdbadf969d43407c250.tar.bz2
bcfg2-49616bb1f40cdd48affd1cdbadf969d43407c250.zip
Commit client locking patch (From stousignant) (Resolves Ticket #575)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4770 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Options.py')
-rw-r--r--src/lib/Options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py
index 712b5a5f9..3c5b3979a 100644
--- a/src/lib/Options.py
+++ b/src/lib/Options.py
@@ -249,6 +249,8 @@ AGENT_HOST = Option('Remote host', default=False, cmd='-H', odesc='<hostname>')
ENCODING = Option('Encoding of cfg files', default=sys.getdefaultencoding(), cmd='-E', odesc='<encoding>',
cf=('components', 'encoding'))
+OMIT_LOCK_CHECK = Option('Omit lock check', default=False, cmd='-O')
+
class OptionParser(OptionSet):
'''OptionParser bootstraps option parsing, getting the value of the config file'''
def __init__(self, args):