Browse Source

dashing: remove BaseStorage-check (use ducktyping principle)

Helge Jung 9 years ago
parent
commit
92b9349124
1 changed files with 0 additions and 5 deletions
  1. 0 5
      ffstatus/dashing.py

+ 0 - 5
ffstatus/dashing.py

@@ -1,7 +1,6 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 
-from .basestorage import BaseStorage
 import json
 import logging
 import requests
@@ -32,10 +31,6 @@ class DashingClient:
         return resp
 
     def push(self, storage):
-        if not isinstance(storage, BaseStorage):
-            self.logger.error('Mimimi, storage is not a BaseStorage.')
-            return
-
         status = storage.status
 
         # {akt,max}{Knoten,Client}count