Fix typo in sh.CommandNotFound exception
authorNikos Skalkotos <skalkoto@grnet.gr>
Thu, 25 Apr 2013 09:52:46 +0000 (12:52 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Thu, 25 Apr 2013 09:53:37 +0000 (12:53 +0300)
image_creator/util.py

index 9339fd8..61a97e9 100644 (file)
@@ -53,7 +53,7 @@ def get_command(command):
 
     try:
         return sh.__getattr__(command)
-    except sh.CommadNotFount as e:
+    except sh.CommandNotFound as e:
         return find_sbin_command(command, e)