(file) Return to tagRelease.py CVS log (file) (dir) Up to [Development] / JSOC / CM

Diff for /JSOC/CM/tagRelease.py between version 1.5 and 1.6

version 1.5, 2013/10/03 17:02:18 version 1.6, 2013/11/19 17:48:05
Line 62  def GetArgs(args):
Line 62  def GetArgs(args):
         for opt, arg in opts:         for opt, arg in opts:
             if opt == '-h':             if opt == '-h':
                 print('tagRelease.py [-hu] -t <CVS tree with jsoc_version.h> -v <version string>')                 print('tagRelease.py [-hu] -t <CVS tree with jsoc_version.h> -v <version string>')
                   exit(0)
             elif opt in ("-t", "--tree"):             elif opt in ("-t", "--tree"):
                 regexp = re.compile(r"(\S+)/?")                 regexp = re.compile(r"(\S+)/?")
                 matchobj = regexp.match(arg)                 matchobj = regexp.match(arg)
Line 81  def GetArgs(args):
Line 82  def GetArgs(args):
             else:             else:
                 optD[opt] = arg                 optD[opt] = arg
  
       if not rv == kRetSuccess:
           return {}
   
     return optD     return optD
  
 # Create version strings for jsoc_version.h and CVS, returns a tuple # Create version strings for jsoc_version.h and CVS, returns a tuple


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Karen Tian
Powered by
ViewCVS 0.9.4