IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31200


Ignore:
Timestamp:
Apr 6, 2011, 1:05:30 PM (15 years ago)
Author:
rhenders
Message:

Neatened some string parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/gpc1db.py

    r31185 r31200  
    22
    33import re
     4import sys
    45import glob
    56import os
    67
    78from java.sql import *
     9from xml.etree.ElementTree import ElementTree
    810
    911
     
    5860        # get path to base dir of cmf files
    5961        path = rs.getString(1)
    60         index = path.rfind("/")
    61         path = path[0:index]
    62 
     62        path = path[0:path.rfind("/")]
    6363       
    6464        # list all cmf files if a neb path
Note: See TracChangeset for help on using the changeset viewer.