|
@@ -549,7 +549,6 @@ class FileObject(MDBase): |
|
|
@classmethod |
|
|
@classmethod |
|
|
def from_file(cls, filename, created_by_ref): |
|
|
def from_file(cls, filename, created_by_ref): |
|
|
s = os.stat(filename) |
|
|
s = os.stat(filename) |
|
|
# XXX - add host uuid? |
|
|
|
|
|
obj = { |
|
|
obj = { |
|
|
'created_by_ref': created_by_ref, |
|
|
'created_by_ref': created_by_ref, |
|
|
'hostid': hostuuid(), |
|
|
'hostid': hostuuid(), |
|
|