[Pkg-ceph-commits] [ceph] 04/14: Re-add missing file

James Downing Page jamespage at moszumanska.debian.org
Mon Feb 29 09:26:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamespage pushed a commit to branch ubuntu-xenial
in repository ceph.

commit a231bfd199dc22d09db6ac136b02344e4a72e56e
Author: James Page <james.page at ubuntu.com>
Date:   Wed Feb 24 12:50:30 2016 +0000

    Re-add missing file
---
 src/ceph-detect-init/ceph_detect_init/debian/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ceph-detect-init/ceph_detect_init/debian/__init__.py b/src/ceph-detect-init/ceph_detect_init/debian/__init__.py
index 59b4781..b5fc7c7 100644
--- a/src/ceph-detect-init/ceph_detect_init/debian/__init__.py
+++ b/src/ceph-detect-init/ceph_detect_init/debian/__init__.py
@@ -8,6 +8,7 @@ def choose_init():
 
     Returns the name of a init system (upstart, sysvinit ...).
     """
+    assert(distro and codename)
     if distro.lower() in ('ubuntu', 'linuxmint'):
         if codename >= 'vivid':
             return 'systemd'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list