• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email


src/p/y/pygobject-HEAD/glib/option.py   pygobject(Download)
 
import sys
import optparse
from optparse import OptParseError, OptionError, OptionValueError, \
                     BadOptionError, OptionConflictError
 
if sys.version_info >= (3, 0):
            elif error.code == _glib.OPTION_ERROR_UNKNOWN_OPTION:
                raise BadOptionError(error.message)
            elif error.code == _glib.OPTION_ERROR_FAILED:
                raise OptParseError(error.message)
            else:
                raise
 

src/m/o/moofs-HEAD/moofs/src/fuseparts/subbedopts.py   moofs(Download)
#    See the file COPYING.
#
 
from optparse import Option, OptionParser, OptParseError, OptionConflictError
from optparse import HelpFormatter, IndentedHelpFormatter, SUPPRESS_HELP
from fuseparts.setcompatwrap import set
 
    def add_option(self, *args, **kwargs):
        if 'action' in kwargs and kwargs['action'] == 'store_hive':
            if 'subopt' in kwargs:
                raise OptParseError(
                  """option can't have a `subopt' attr and `action="store_hive"' at the same time""")
            if not 'type' in kwargs:
                kwargs['type'] = 'string'

src/a/l/allmydata-tahoe-1.8.0/mac/fuseparts/subbedopts.py   allmydata-tahoe(Download)
# licensed under the same terms as Tahoe-LAFS itself.
#
 
from optparse import Option, OptionParser, OptParseError, OptionConflictError
from optparse import HelpFormatter, IndentedHelpFormatter, SUPPRESS_HELP
from fuseparts.setcompatwrap import set
 
    def add_option(self, *args, **kwargs):
        if 'action' in kwargs and kwargs['action'] == 'store_hive':
            if 'subopt' in kwargs:
                raise OptParseError(
                  """option can't have a `subopt' attr and `action="store_hive"' at the same time""")
            if not 'type' in kwargs:
                kwargs['type'] = 'string'

src/f/u/fuse-python-0.2/fuseparts/subbedopts.py   fuse-python(Download)
#    See the file COPYING.
#
 
from optparse import Option, OptionParser, OptParseError, OptionConflictError
from optparse import HelpFormatter, IndentedHelpFormatter, SUPPRESS_HELP
from fuseparts.setcompatwrap import set
 
    def add_option(self, *args, **kwargs):
        if 'action' in kwargs and kwargs['action'] == 'store_hive':
            if 'subopt' in kwargs:
                raise OptParseError(
                  """option can't have a `subopt' attr and `action="store_hive"' at the same time""")
            if not 'type' in kwargs:
                kwargs['type'] = 'string'

src/e/t/etm-664/etm/etmParsers.py   etm(Download)
import sys, datetime, os, os.path, fnmatch, shutil, copy, re, subprocess
import time
from optparse import OptionParser, OptParseError, OptionError, OptionConflictError, BadOptionError, OptionValueError
from dateutil.parser import parse as duparse
from calendar import TextCalendar
from calendar import LocaleTextCalendar
from etm.etmVersion import version