Commits

Marcin Kuzminski committed 32e3fc7

pep8 utils

  • Participants
  • Parent commits bc7ff25

Comments (0)

Files changed (1)

File vcs/tests/utils.py

 
 from subprocess import Popen
 
+
 class VCSTestError(Exception):
     pass
 
+
 def run_command(cmd, args):
     """
     Runs command on the system with given ``args``.
     status = os.waitpid(p.pid, 0)[1]
     return status
 
+
 def eprint(msg):
     """
     Prints given ``msg`` into sys.stderr as nose test runner hides all output
     sys.stderr.write(msg)
     sys.stderr.write('\n')
 
+
 class SCMFetcher(object):
 
     def __init__(self, alias, test_repo_path, remote_repo, clone_cmd):
         eprint("Fetching repository %s into %s" % (remote, self.test_repo_path))
         run_command(self.clone_cmd,  '%s %s' % (remote, self.test_repo_path))
 
+
 def get_normalized_path(path):
     """
     If given path exists, new path would be generated and returned. Otherwise