[Avida-SVN] r3360 - branches/developers/avida-edward/source/python/AvidaGui2

baerb at myxo.css.msu.edu baerb at myxo.css.msu.edu
Wed Aug 5 12:49:15 PDT 2009


Author: baerb
Date: 2009-08-05 15:49:15 -0400 (Wed, 05 Aug 2009)
New Revision: 3360

Modified:
   branches/developers/avida-edward/source/python/AvidaGui2/pyAvidaEdCtrl.py
   branches/developers/avida-edward/source/python/AvidaGui2/pyDiversitySandbox.py
   branches/developers/avida-edward/source/python/AvidaGui2/pyMDMkEnv.py
   branches/developers/avida-edward/source/python/AvidaGui2/pyPRNGState.py
Log:
Small corrections for python on Windows

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyAvidaEdCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyAvidaEdCtrl.py	2009-08-05 18:40:40 UTC (rev 3359)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyAvidaEdCtrl.py	2009-08-05 19:49:15 UTC (rev 3360)
@@ -13,7 +13,7 @@
 
 """
 
-class AvidaCtrl():
+class AvidaCtrl:
     def __init__(self):
         """
         Basic initialization for Avida instance

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyDiversitySandbox.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyDiversitySandbox.py	2009-08-05 18:40:40 UTC (rev 3359)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyDiversitySandbox.py	2009-08-05 19:49:15 UTC (rev 3360)
@@ -20,7 +20,7 @@
 
 from UserDict import UserDict
 
-class UnrealWorld():
+class UnrealWorld:
     """
     UnrealWorld provides a class for generating an x by y grid of random
     or mutated genotypes and phenotypes.
@@ -65,7 +65,7 @@
                 mystr += parent[kk]
         return mystr
 
-class diversity():
+class diversity:
     """
     diversity: a class to provide a variety of methods for measures of diversity
 

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyMDMkEnv.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyMDMkEnv.py	2009-08-05 18:40:40 UTC (rev 3359)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyMDMkEnv.py	2009-08-05 19:49:15 UTC (rev 3360)
@@ -6,7 +6,7 @@
 
 import pyGridMaster
 
-class MkEnv():
+class MkEnv:
     """
     MkEnv
 

Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyPRNGState.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyPRNGState.py	2009-08-05 18:40:40 UTC (rev 3359)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyPRNGState.py	2009-08-05 19:49:15 UTC (rev 3360)
@@ -14,7 +14,7 @@
 
 import qt
 
-class StackType():
+class StackType:
     """
     StackType
     Abstract stack data type. 




More information about the Avida-cvs mailing list