~mvo/software-center/new-pep8

« back to all changes in this revision

Viewing changes to softwarecenter/utils.py

  • Committer: Michael Vogt
  • Date: 2012-06-20 14:28:05 UTC
  • mfrom: (3030.1.2 py-apt-0.8)
  • Revision ID: michael.vogt@ubuntu.com-20120620142805-on6ddf582uoovd6r
merged lp:~mvo/software-center/python-apt-0.8 after approval from nessita

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
    takes a PPA SourceEntry and returns a filename suitable for sources.list.d
332
332
    """
333
333
    import apt_pkg
334
 
    name = "%s.list" % apt_pkg.URItoFileName(entry.uri)
 
334
    name = "%s.list" % apt_pkg.uri_to_filename(entry.uri)
335
335
    return name
336
336
 
337
337