Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilan Schnell committed Mar 5, 2011
1 parent 2df746b commit 90fab2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appinst/darwin.py
Expand Up @@ -3,7 +3,7 @@

import os
import shutil
from os.path import basename, dirname, isdir, isfile, join
from os.path import basename, dirname, isdir, join
from plistlib import Plist, writePlist

from egginst.utils import rm_empty_dir, rm_rf
Expand Down Expand Up @@ -32,7 +32,7 @@ def __init__(self, menu, shortcut):
if var_name in shortcut:
setattr(self, var_name, shortcut[var_name])

if isfile(self.cmd[0]) and os.access(self.cmd[0], os.X_OK):
if os.access(self.cmd[0], os.X_OK):
self.tp = 'app'
self.path = join(menu.path, self.name + '.app')
else:
Expand Down

0 comments on commit 90fab2f

Please sign in to comment.