Commits

Osiloke Emoekpere committed 9afe5ca

bug fixing

  • Participants
  • Parent commits 484dba9

Comments (0)

Files changed (1)

File automator.py

 		try:
 			(template, extra_vars) = self.script.local_settings()
 			local_settings = self.publish(template, extra_vars)
-			f = open(os.path.join(self.script.project_dir, "local_settings.py"), "w")
-			print ">>>>>>>>> Created Local Settings File <<<<<<<<<<<<"
+			file_path = os.path.join(self.script.project_dir, "local_settings.py")
+			f = open(file_path, "w")
 			f.write(local_settings)
+			print ">>>>>>>>> Created Local Settings File <%s> at <%s> <<<<<<<<<<<<" % (f, file_path)
 		except AttributeError:
 			print "No local settings template specified"
 		except Exception: