uptane / obsolete-reference-implementation

⚠️⚠️⚠️ Obsolete ⚠️⚠️⚠️ — This repository contains a reference implementation of a pre-1.0 version of the Uptane Standard and should not be used
https://uptane.github.io
MIT License
6 stars 6 forks source link

Add client as parent class for primary and secondary #192

Open tanishqjasoria opened 5 years ago

tanishqjasoria commented 5 years ago

Purpose of the PR:

Refactor primary.py and secondary.py to pull out common elements Address Issue #14

Summary of Changes:

  1. Add a client class implementing the common methods used by both Primary and Secondary
  2. Primary and Secondary inherits from the client class.
lukpueh commented 5 years ago

Btw. don't worry about the failing Travis build due to missing Python 3.4. I'll fix this in https://github.com/lukpueh/uptane/tree/fix-ci-cd