[darcs_send_changes.py] Crée ls répertoireslorsque ceux-ci n'existent pas
darcs-hash:20081217221229-bd074-97d8da6a8b85e7c5877989b5f8cbc9e466547490.gz
This commit is contained in:
parent
9a0f43b6dd
commit
9982f1286e
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,8 @@ if __name__ == "__main__":
|
||||||
patches = getnew(lastdate)
|
patches = getnew(lastdate)
|
||||||
if c == "none":
|
if c == "none":
|
||||||
if patches:
|
if patches:
|
||||||
|
if not os.path.exists(CONF_PATH):
|
||||||
|
os.mkdir(CONF_PATH)
|
||||||
open(DATE_FILE, "w").write(patches[-1].split("-", 1)[0])
|
open(DATE_FILE, "w").write(patches[-1].split("-", 1)[0])
|
||||||
patches = []
|
patches = []
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue