~ubuntu-branches/ubuntu/maverick/dput/maverick

« back to all changes in this revision

Viewing changes to http.py

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-01-04 19:37:45 UTC
  • mfrom: (1.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090104193745-4tg94wzkpy3kj0ik
Tags: 0.9.2.37ubuntu1
* Merge from debian unstable, remaining changes: LP: #313718
  + sftp.py: Support for uploads via sftp transport
  + dput.cf:
    - set 'default_main_host = ubuntu'
    - set 'progress_indicator = 2'
  + dput:
    - Recognize 0ubuntu1 as a debian version that requires
      orig.tar.gz to be included in the upload.
  + debian/control: Added suggests on bzr (as we use the bzrlib.transport)
  + debian/rules: Updated to install sftp.py
  + dput:
    - Added ability to pass an argument to the host configuration by placing
      a colon after the hostname. The variable with the same name of the host
      will be replaced with the string following the colon. 
    - Properly check to see if config stanza exists for host. 
  + dput.cf: Updated ppa stanza to make use of argument support.
  + dput.cf.5: Updated to note support for sftp transport and host args
  + dput.1: Updated to document host argument feature and sftp support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        afile = unprocessed_files_to_upload[0]
77
77
        path_to_package, package_name = os.path.split(afile)
78
78
        # print without linefeed
79
 
        sys.stdout.write("  %s: "% package_name)
 
79
        sys.stdout.write("  Uploading %s: "% package_name)
80
80
        sys.stdout.flush()
81
81
        try:
82
82
          size = os.stat(afile).st_size