Changeset 2225


Ignore:
Timestamp:
Feb 1, 2010 12:23:18 AM (10 years ago)
Author:
wehart
Message:

Bug fix: don't copy files with value None

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.plugins/trunk/coopr/plugins/mip/mockmip.py

    r1492 r2225  
    3131    def _execute_command(self,cmd):
    3232        for file in glob.glob(self._mock_dir+os.sep+self.mock_subdir+os.sep+self._mock_problem+"*"):
    33           if file.split(".")[-1] in ["soln","sol"]:
     33          if not self.soln_file is None and file.split(".")[-1] in ["soln","sol"]:
    3434             shutil.copyfile(file,self.soln_file)
    3535          if file.split(".")[-1] != "out":
Note: See TracChangeset for help on using the changeset viewer.