gpo: Move the file parse function to gp_ext
authorDavid Mulder <dmulder@suse.com>
Thu, 29 Mar 2018 14:05:21 +0000 (08:05 -0600)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 12 Apr 2018 06:13:34 +0000 (08:13 +0200)
commitdc4151476923067b7659f42ca1f2c5f809cfef1e
tree673f3734328f1223fccb86e1432ce613cd748079
parent1d47ab7e2a49048f425d544b38bc980abb4f53ef
gpo: Move the file parse function to gp_ext

A file will always be read from the sysvol the
same way, but the data will be read differently.
This patch moves the parse function to gp_ext,
and requires subclasses to implement the read()
function to interpret the data.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/gpclass.py