Commits

ste...@ott.net  committed 5a0d11b

Fixed the exception thrown when an external program fails

  • Participants
  • Parent commits 98f6afb

Comments (0)

Files changed (2)

 #summary ChangeLog for episoder
 #labels Featured,Phase-Deploy
 
+== v0.6.6 (UNRELEASED ==
+ * Minor code cleanup
+
 == v0.6.5 (6 Oct 2010) ==
  * Updated the epguides.com parser to ignore links to trailers in episode names
 

File pyepisoder/plugins.py

 				self.awk, self.awkfile, yamlfile,
 				cleanwebdata, logfile)
 		if os.system(cmd) != 0:
-			raise "Error running %s" % cmd
+			raise Exception("Error running %s" % cmd)
 
 		file = open(logfile)
 		self.logger.debug(file.read().strip())