Commits

Michał Górny committed a4d5fda

Use gentoopm.util.ABCObject for ABC.

As we rely on gentoopm anyway, we can use its neat ABC wrapper.

  • Participants
  • Parent commits a992897

Comments (0)

Files changed (1)

File smartliverebuild/vcs/__init__.py

 # Released under the terms of the 2-clause BSD license.
 
 import locale, os, subprocess
-from abc import ABCMeta, abstractproperty
+from gentoopm.util import ABCObject
+from abc import abstractproperty
 
 from smartliverebuild.output import out
 
 		and will not cause rebuild of the package. """
 	pass
 
-class BaseVCSSupport(object):
+class BaseVCSSupport(ABCObject):
 	""" Common VCS support class details. """
-	__metaclass__ = ABCMeta
 	_running = False
 
 	@abstractproperty