blob: a866f79c9eb67d6492dca6cc75d7e187ebdaa357 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
from popen2 import Popen4
import os
import config
from os import mkdir, unlink
def add_id(filename):
"""Compatibility function"""
pass
def delete_id(filename):
"""Compatibility function"""
pass
def set_file_contents(path, contents):
add = not os.path.exists(path)
file(path, "wb").write(contents)
if add:
add_id(path)
def detect(path):
"""Compatibility function"""
return True
name = "None"
|