~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/interpret.py

  • Committer: Matt Giuca
  • Date: 2010-02-23 05:27:07 UTC
  • Revision ID: matt.giuca@gmail.com-20100223052707-3a76wo23r2z503t8
browser.js: Adjusted condition for enabling "Commit" action; now allowed if
    no files are selected AND current directory is versioned (as well as if
    all selected files are versioned). Committing with 0 files selected will
    commit the current directory.
ivle.fileservice_lib.action: Fixed to allow commit to contain 0 paths. This
    will commit the current directory instead.
This fixes Launchpad bug #526161.

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
                for s in cmd_line]
445
445
    proc = subprocess.Popen(cmd_line,
446
446
        stdin=subprocess.PIPE, stdout=subprocess.PIPE,
447
 
        stderr=subprocess.PIPE, cwd=tramp_dir, close_fds=True,
448
 
        env={'HOME': os.path.join('/home', user.login),
449
 
             'PATH': os.environ['PATH'],
450
 
             'USER': user.login,
451
 
             'LOGNAME': user.login})
 
447
        stderr=subprocess.PIPE, cwd=tramp_dir, close_fds=True)
452
448
 
453
449
    (stdout, stderr) = proc.communicate()
454
450
    exitcode = proc.returncode