[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:
Antoine Durand-Gasselin 2008-12-17 23:12:29 +01:00
parent 9a0f43b6dd
commit 9982f1286e

View file

@ -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: