~jamesodhunt/+junk/ubuntu-core-upgrader-tests

Viewing all changes in revision 27.

  • Committer: James Hunt
  • Date: 2014-11-03 14:04:16 UTC
  • Revision ID: james.hunt@ubuntu.com-20141103140416-yo4hvoo71zy7k8vz
* ubuntucoreupgrader/parser.py:
  - tar_generator():
    - Reworked to make logic clearer.
    - Only ignore devices if they already exist.
  - _update():
    - Strip expected file prefix rather than just blindly removing first
      element.
    - Ignore relative paths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: