Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/packages
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-02-02 15:01:17 +0100
committerGitHub <noreply@github.com>2022-02-02 15:01:17 +0100
commit389feef035cfbb1bd2c4f8be070fa085c088f151 (patch)
treee305eb7866224117487eaae73ecab53c2ebb7fb4 /archinstall/lib/packages
parent37d6da7e4eb8897dfb80797f28db85ccdd09d376 (diff)
Torxed pydantic to dataclass (#935)
* Converted pydantic things to @dataclass definitions. * Added import for the dataclasses * flake8 fixes
Diffstat (limited to 'archinstall/lib/packages')
-rw-r--r--archinstall/lib/packages/packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/packages/packages.py b/archinstall/lib/packages/packages.py
index 7dc74b32..5b94aa59 100644
--- a/archinstall/lib/packages/packages.py
+++ b/archinstall/lib/packages/packages.py
@@ -3,7 +3,7 @@ import urllib.request
import json
from typing import Dict, Any
from ..general import SysCommand
-from ..models import PackageSearch, PackageSearchResult, LocalPackage
+from ..models.dataclasses import PackageSearch, PackageSearchResult, LocalPackage
from ..exceptions import PackageError, SysCallError, RequirementError
BASE_URL_PKG_SEARCH = 'https://archlinux.org/packages/search/json/?name={package}'