File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -282,11 +282,9 @@ if args.action == 'create':
282282 raise ValueError ("Template not found at {}. Please choose a different template and try again." .format (src ))
283283 if os .path .exists (args .filename ):
284284 raise ValueError ("File already exists at '{}'. Please choose a different filename and try again." .format (args .filename ))
285- < << << << HEAD
286285 shutil .copy (src , args .filename )
287286 print ("Created a {format} knowledge post template at '{filename}'." .format (format = args .format , filename = args .filename ))
288287 sys .exit (0 )
289- == == == =
290288
291289 # Replace the current timestamp
292290 with open (src ) as f :
@@ -298,7 +296,6 @@ if args.action == 'create':
298296
299297 #shutil.copy(src, args.filename)
300298 print ("Created a {format} knowledge post template at {filename}." .format (format = args .format , filename = args .filename ))
301- >> >> >> > 71 fb125 (Create current timestamp in the template on the fly )
302299
303300# # Check which branches have local work
304301if args .action == 'drafts' :
You can’t perform that action at this time.
0 commit comments