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

« back to all changes in this revision

Viewing changes to setup/setuputil.py

  • Committer: wagrant
  • Date: 2008-09-18 09:23:56 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1050
setup: Don't give possible options in the top-level usage string.
setup.build: Bail out if there is no jail and we've not been told to
             build one.
setup.setuputil: Don't import pysvn except where it is needed, so we
                 can at least display the usage without extra deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import shutil
27
27
import errno
28
28
import sys
29
 
import pysvn
30
29
import string
31
30
import stat
32
31
 
250
249
 
251
250
def get_svn_revision():
252
251
    """Returns either the current SVN revision of this build, or None"""
 
252
    import pysvn
253
253
    try:
254
254
        svn = pysvn.Client()
255
255
        entry = svn.info('.')