Merge pull request #28 from cvubrugier/master

Use 2to3 in setup.py and mention that targetcli-fb is Python 3 compatibl...
fix version number in packaging, fix #29

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
rename debian package to targetcli-fb

The name "targetcli" is already used for the original package on Debian.

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
debian: update dependencies

Additionally we don't use python2.6, but current "python".

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
debian: fix build with setuptools

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
Update README.md with in-repo pkgscript rationale

See https://github.com/agrover/configshell-fb/pull/8 for discussion.

Signed-off-by: Andy Grover <agrover@redhat.com>
debian: use dh_python

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
debian: add init script

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
debian: switch to using Python 3

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
Merge pull request #30 from JonnyJD/make_deb

update debian packaging
debian: don't use :any in python3 dependency

python3:any only works in very recent Debian systems (unstable)

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
Merge pull request #31 from JonnyJD/python3_any

Problem with detecting Python3 on Debian
update version to 2.1.fb31

Signed-off-by: Andy Grover <agrover@redhat.com>
debian: remove rc script

This is now in python3-rtslib-fb.

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
Merge pull request #32 from JonnyJD/no_rc

debian: remove rc script
update version to 2.1.fb32

Signed-off-by: Andy Grover <agrover@redhat.com>
Save RTSRoot to a member variable

Get the RTSRoot object on init, and then use it when needed in other
methods.

Signed-off-by: Andy Grover <agrover@redhat.com>
Use new rtslib restore_from_file and save_to_file APIs

As a result it's now better for saveconfig to save/cull backups before
saving the current state, hopefully not a big deal.

Resolves #34

Signed-off-by: Andy Grover <agrover@redhat.com>