Commits

Mike Bayer committed 5e1027a

fix exception

  • Participants
  • Parent commits 5674d29

Comments (0)

Files changed (1)

backups/backups.py

     config = base._read_config()
     try:
         if config is None and cmd is not base._write_sample_config:
-            raise CommandException("No config file: %r.  "
+            raise base.CommandException("No config file: %r.  "
                 "Please run the 'init' command to create." %
                 config_file_dest)
 
         cmd(config, cmd_options, args)
-    except CommandException, ce:
+    except base.CommandException, ce:
         sys.exit(str(ce))
 
 if __name__ == '__main__':