瀏覽代碼

remove obsolete return

oz123 11 年之前
父節點
當前提交
7ff9ed7140
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      pwman/__init__.py

+ 0 - 2
pwman/__init__.py

@@ -37,8 +37,6 @@ def which(cmd):
         if os.path.isfile(cmd) and os.access(cmd, os.X_OK):
             return cmd
 
-    return None
-
 config_dir = os.path.expanduser("~/.pwman")
 
 default_config = {'Global': {'umask': '0100', 'colors': 'yes',