~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Lib/distutils/command/sdist.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
 
307
307
                try:
308
308
                    self.filelist.process_template_line(line)
309
 
                except DistutilsTemplateError as msg:
 
309
                # the call above can raise a DistutilsTemplateError for
 
310
                # malformed lines, or a ValueError from the lower-level
 
311
                # convert_path function
 
312
                except (DistutilsTemplateError, ValueError) as msg:
310
313
                    self.warn("%s, line %d: %s" % (template.filename,
311
314
                                                   template.current_line,
312
315
                                                   msg))