From 90d4c4be3bc15b2f594a0046c07b6f8654659ad5 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Fri, 20 Dec 2019 07:35:07 +0300 Subject: Add Nim 1.0 support --- src/pacman.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman.nim') 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], -- cgit v1.2.3-70-g09d2