aboutsummaryrefslogtreecommitdiff
path: root/src/pacman.nim
diff options
context:
space:
mode:
authorkitsunyan2019-12-20 04:35:07 +0000
committerkitsunyan2019-12-20 04:35:07 +0000
commit90d4c4be3bc15b2f594a0046c07b6f8654659ad5 (patch)
tree89a79ffa58b086e5211473bb8633f5344e39000f /src/pacman.nim
parenta25e544b717edab821779b4e7d978e8bf24debcb (diff)
Add Nim 1.0 support
Diffstat (limited to 'src/pacman.nim')
-rw-r--r--src/pacman.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman.nim b/src/pacman.nim
index 9ee692d..b58482c 100644
--- a/src/pacman.nim
+++ b/src/pacman.nim
@@ -1,5 +1,5 @@
import
- future, macros, options, os, posix, re, sequtils, sets, strutils, tables,
+ macros, options, posix, sequtils, sets, strutils, sugar, tables,
args, config, utils
type
@@ -251,7 +251,7 @@ static:
# conflicting options test
for name, pairs in allConflictingOptions.obtainConflictsPairs:
if pairs.len != 1:
- raise newException(SystemError,
+ raise newException(CatchableError,
"invalid conflicts definition: " & name & " " & $pairs)
proc checkConflicts*(args: seq[Argument],