dia r4341 - trunk/plug-ins/python



Author: hans
Date: Tue Mar 24 19:46:22 2009
New Revision: 4341
URL: http://svn.gnome.org/viewvc/dia?rev=4341&view=rev

Log:
wdeps.py : 2007-07-31 - better reflect a users error (yes, even me;))


Modified:
   trunk/plug-ins/python/wdeps.py

Modified: trunk/plug-ins/python/wdeps.py
==============================================================================
--- trunk/plug-ins/python/wdeps.py	(original)
+++ trunk/plug-ins/python/wdeps.py	Tue Mar 24 19:46:22 2009
@@ -375,6 +375,9 @@
 				components = string.split(arg, ",")
 				components = UnGlob (components)
 				# don't GetDeps here cause we need to first evaluate *all* parameters
+				if len(components) == 0 :
+					print "No DLL input found - wrong directory?"
+					sys.exit(1)
 				sGraph = components[0]
 			else :
 				sOutFilename = arg



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