mirror of https://github.com/cowrie/cowrie.git
extra comments in fs.py
This commit is contained in:
parent
3e5aa75785
commit
8db9cc3672
|
@ -87,6 +87,7 @@ class HoneyPotFilesystem(object):
|
|||
|
||||
def resolve_path(self, path, cwd):
|
||||
"""
|
||||
This function does not need to be in this class, it has no dependencies
|
||||
"""
|
||||
pieces = path.rstrip('/').split('/')
|
||||
|
||||
|
@ -111,6 +112,7 @@ class HoneyPotFilesystem(object):
|
|||
|
||||
def resolve_path_wc(self, path, cwd):
|
||||
"""
|
||||
Resolve_path with wildcard support (globbing)
|
||||
"""
|
||||
pieces = path.rstrip('/').split('/')
|
||||
if len(pieces[0]):
|
||||
|
|
Loading…
Reference in New Issue