Ticket #5001: scripts.patch

File scripts.patch, 698 bytes (added by Juan A. Diaz, 8 years ago)

patch

  • twisted/scripts/tap2deb.py

    diff --git a/twisted/scripts/tap2deb.py b/twisted/scripts/tap2deb.py
    index a0ec146..875a70d 100644
    a b  
    33
    44
    55
    6 import sys, os, string, shutil
     6import sys, os, shutil
    77
    88from twisted.python import usage
    99
    def run(): 
    6161                                            vars())
    6262    long_description = config['long_description'] or 'Automatically created by tap2deb'
    6363    twistd_option = type_dict[config['type']]
    64     date = string.strip(os.popen('822-date').read())
     64    date = os.popen('822-date').read().strip()
    6565    directory = deb_file + '-' + version
    6666    python_version = '%s.%s' % sys.version_info[:2]
    6767