IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32120 for trunk/ippToPsps


Ignore:
Timestamp:
Aug 17, 2011, 12:39:08 PM (15 years ago)
Author:
rhenders
Message:

using new Batch-class static methods to get batch name; putting import at bottom to avoid issue of circular imports

Location:
trunk/ippToPsps/jython
Files:
2 edited

Legend:

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

    r32058 r32120  
    66import sys
    77from xml.etree.ElementTree import ElementTree, Element, tostring
    8 
    98
    109'''
     
    9493        for i in range(firstInt, lastInt):
    9594           
    96             self.remove("B%08d" % i)
     95            self.remove(Batch.getNameFromID(i))
     96
     97from batch import Batch
  • trunk/ippToPsps/jython/odm.py

    r32114 r32120  
    66from xml.etree.ElementTree import ElementTree, Element, tostring
    77from subprocess import call, PIPE, Popen
     8
     9from batch import Batch
    810
    911'''
     
    2527    def checkBatch(self, batchID, results):
    2628
    27         batch = "B%08d" % batchID
     29        batch = Batch.getNameFromID(batchID)
    2830
    2931        tempFile = tempfile.NamedTemporaryFile(mode='w+b')
Note: See TracChangeset for help on using the changeset viewer.