~ubuntu-branches/ubuntu/saucy/software-properties/saucy-proposed

« back to all changes in this revision

Viewing changes to add-apt-repository

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre, Colin Watson, Mathieu Trudel-Lapierre
  • Date: 2012-07-05 11:50:44 UTC
  • Revision ID: package-import@ubuntu.com-20120705115044-k8hf3i7hrtp3e44n
Tags: 0.86
[ Colin Watson ]
* Open /dev/urandom in binary mode.
* Start producing python-software-properties again, until such time as it
  has no reverse-dependencies.

[ Mathieu Trudel-Lapierre ]
* Fix things so that reverse-depends can still work with Python 2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python3
2
2
 
 
3
from __future__ import print_function
 
4
 
3
5
import os
4
6
import sys
5
7
import gettext
136
138
        else:
137
139
            print(_("You are about to add the following PPA to your system:"))
138
140
        print(" %s" % ppa_info["description"] or "")
139
 
        print(_(" More info: %s") % ppa_info["web_link"])
 
141
        print(_(" More info: %s") % str(ppa_info["web_link"]))
140
142
        if (sys.stdin.isatty() and
141
143
            not "FORCE_ADD_APT_REPOSITORY" in os.environ):
142
144
            if options.remove: