Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
squad-track-duration: Remove unneeded DataFrame setup
Browse files Browse the repository at this point in the history
Remove code that creates a DataFrame then reassigns it before it is ever
used.

Signed-off-by: Katie Worton <[email protected]>
  • Loading branch information
katieworton committed May 14, 2024
1 parent c535c58 commit 73f964b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions squad-track-duration
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,6 @@ def run():
if args.start_datetime > args.end_datetime:
raise Exception("Start time must be earlier than end time.")

df = pd.DataFrame(
{
"build_name": [],
"git_describe": [],
"device": [],
"boottime": [],
"finished": [],
"created_at": [],
}
)

build_cache = get_cache_from_artifactorial()
data = []
data, build_cache = get_data(args, build_cache)
Expand Down

0 comments on commit 73f964b

Please sign in to comment.