summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorKyle Brown <kdb424@gmail.com>2021-08-10 16:26:42 -0700
committerGitHub <noreply@github.com>2021-08-11 01:26:42 +0200
commit31fc0f97187cef472cf113629a90c7aa126d3693 (patch)
tree0902ccb8d2ee1b601ef98c3d7f4835b18e44f8e9 /tools
parent8ce782d463b0bca091be5a34db190dc441c23ce4 (diff)
downloadNim-31fc0f97187cef472cf113629a90c7aa126d3693.tar.gz
Remove unused imports, and deprecated function usage (#18663)
* clean up imports and slice to remove delete

* revert buggy code

* Replace "delete" with setlen to remove depreciation warning
Diffstat (limited to 'tools')
-rw-r--r--tools/atlas/atlas.nim2
-rw-r--r--tools/atlas/packagesjson.nim1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/atlas/atlas.nim b/tools/atlas/atlas.nim
index d0990c1f7..761ca5db8 100644
--- a/tools/atlas/atlas.nim
+++ b/tools/atlas/atlas.nim
@@ -9,7 +9,7 @@
 ## Simple tool to automate frequent workflows: Can "clone"
 ## a Nimble dependency and its dependencies recursively.
 
-import std/[parseopt, strutils, os, osproc, sequtils, unicode, tables, sets]
+import std/[parseopt, strutils, os, osproc, unicode, tables, sets]
 import parse_requires, osutils, packagesjson
 
 const
diff --git a/tools/atlas/packagesjson.nim b/tools/atlas/packagesjson.nim
index ed83ce85c..0b8599769 100644
--- a/tools/atlas/packagesjson.nim
+++ b/tools/atlas/packagesjson.nim
@@ -1,6 +1,5 @@
 
 import std / [json, os, sets, strutils]
-import osutils
 
 type
   Package* = ref object