Commit 59c4afb9 authored by chenzhengzhang's avatar chenzhengzhang
Browse files

update comments

parent 4b8be488
......@@ -202,8 +202,8 @@ class XfroutSession(BaseRequestHandler):
def _zone_exist(self, zonename):
'''Judge if the zone is configured by config manager.'''
# Currently, we judge the state by search datasource, if we find the
# zone in datasource successfully, we consider the zone is configured.
# Currently, if we find the zone in datasource successfully, we
# consider the zone is configured.
# TODO: should get zone's configuration from cfgmgr or other place
# in future.
return sqlite3_ds.zone_exist(zonename, self.server.get_db_file())
......
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