Use repo name rather than project team for the new deliverable file
The project team name is no longer a great default for when importing history. Use the 'basename' of the git repo we're importing instead. Change-Id: I2ee75f116101d5712bd2fdc821c4f9bc3e60e2d0
This commit is contained in:
parent
c73b48d6e0
commit
c3148de50f
@ -116,7 +116,7 @@ for series, milestones in sorted(series_data.items()):
|
||||
if not os.path.exists(d):
|
||||
print('creating directory %s' % d)
|
||||
os.makedirs(d)
|
||||
filename = '%s/%s.yaml' % (d, args.project)
|
||||
filename = '%s/%s.yaml' % (d, os.path.basename(repo))
|
||||
print('creating %s' % filename)
|
||||
with open(filename, 'w') as f:
|
||||
f.write('---\n')
|
||||
|
@ -102,7 +102,7 @@ for series, milestones in sorted(series_data.items()):
|
||||
if not os.path.exists(d):
|
||||
print('creating directory %s' % d)
|
||||
os.makedirs(d)
|
||||
filename = '%s/%s.yaml' % (d, args.project)
|
||||
filename = '%s/%s.yaml' % (d, os.path.basename(repo))
|
||||
print('creating %s' % filename)
|
||||
with open(filename, 'w') as f:
|
||||
f.write('---\n')
|
||||
|
Loading…
Reference in New Issue
Block a user