commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/common/src GParser.py


From: Jason Cater
Subject: gnue/common/src GParser.py
Date: Sat, 16 Nov 2002 10:44:02 -0500

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/11/16 10:44:02

Modified files:
        common/src     : GParser.py 

Log message:
        If a referenced importable object is not found, raise an exception

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/GParser.py.diff?cvsroot=OldCVS&tr1=1.50&tr2=1.51&r1=text&r2=text

Patches:
Index: gnue/common/src/GParser.py
diff -c gnue/common/src/GParser.py:1.50 gnue/common/src/GParser.py:1.51
*** gnue/common/src/GParser.py:1.50     Wed Nov 13 23:06:25 2002
--- gnue/common/src/GParser.py  Sat Nov 16 10:44:02 2002
***************
*** 398,403 ****
--- 398,405 ----
             rv.__dict__[key] = self._loadedxmlattrs[key]
             GDebug.printMesg (5, ">>> Moving %s" % key)
         rv._buildObject()
+      else:
+        raise "Unable to find an importable object named %s in %s" % 
(self.name, self.library)
  
    #
    # __findImportItem




reply via email to

[Prev in Thread] Current Thread [Next in Thread]