Changeset 25012


Ignore:
Timestamp:
06/11/20 12:11:08 (5 years ago)
Author:
jdquinn
Message:

CHG: Cleanup

Location:
issm/trunk-jpl/src/m
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/pairoptions.py

    r24269 r25012  
    1010    """
    1111
    12     def __init__(self, * arg):  # {{{
     12    def __init__(self, *arg):  # {{{
    1313        self.functionname = ''
    1414        self.list = OrderedDict()
     
    2323            pass  #Do nothing,
    2424        else:
    25             self.buildlist(* arg)
     25            self.buildlist(*arg)
    2626    # }}}
    2727
     
    3838    # }}}
    3939
    40     def buildlist(self, * arg):  # {{{
     40    def buildlist(self, *arg):  # {{{
    4141        """BUILDLIST - build list of objects from input"""
    4242
  • TabularUnified issm/trunk-jpl/src/m/classes/plotoptions.py

    r24269 r25012  
    88
    99        Usage:
    10             plotoptions = plotoptions(* arg)
     10            plotoptions = plotoptions(*arg)
    1111    '''
    1212
    13     def __init__(self, * arg):  # {{{
     13    def __init__(self, *arg):  # {{{
    1414        self.numberofplots = 0
    1515        self.figurenumber = 1
    1616        self.list = OrderedDict()
    1717
    18         self.buildlist(* arg)
     18        self.buildlist(*arg)
    1919    #}}}
    2020
     
    3333    #}}}
    3434
    35     def buildlist(self, * arg):  #{{{
     35    def buildlist(self, *arg):  #{{{
    3636        #check length of input
    3737        if len(arg) % 2:
     
    3939
    4040        #go through args and build list (like pairoptions)
    41         rawoptions = pairoptions.pairoptions(* arg)
     41        rawoptions = pairoptions.pairoptions(*arg)
    4242        numoptions = int(len(arg) / 2)
    4343        rawlist = []  # cannot be a dict since they do not support duplicate keys
  • TabularUnified issm/trunk-jpl/src/m/miscellaneous/PythonFuncs.py

    r24213 r25012  
    22
    33
    4 def logical_and_n(* arg):
     4def logical_and_n(*arg):
    55
    66    if len(arg):
     
    1414
    1515
    16 def logical_or_n(* arg):
     16def logical_or_n(*arg):
    1717
    1818    if len(arg):
Note: See TracChangeset for help on using the changeset viewer.