Commit 04ecc3e3 authored by Elena Grandi's avatar Elena Grandi
Browse files

Run (for selftests) even if the fuss-server package is not installed

parent d088e7b9
......@@ -55,7 +55,10 @@ ansible_data_path = "/usr/share/fuss-server/"
conf_file = '/etc/fuss-server/fuss-server.yaml'
clean_config_file = '/usr/share/doc/fuss-server/examples/fuss-server.yaml.example'
VERSION = apt.cache.Cache().get('fuss-server').installed.version
try:
VERSION = apt.cache.Cache().get('fuss-server').installed.version
except AttributeError:
VERSION = 'dev'
class Configuration(object):
known = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment