Skip to content

Commit 3d22104

Browse files
committed
revdep_rebuild: replace portage.os with stdlib os
portage.os is a re-export of the stdlib os module, kept for Python 2 compatibility. Import os directly. Signed-off-by: Matt Turner <mattst88@gentoo.org> Part-of: #62
1 parent e8013c6 commit 3d22104

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pym/gentoolkit/revdep_rebuild/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Functions for reading, saving and verifying the data caches
33
"""
44

5-
from portage import os
5+
import os
66
import time
77

88
from portage.output import red

pym/gentoolkit/revdep_rebuild/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""Data collection module"""
44

55
import re
6-
from portage import os
6+
import os
77
import glob
88
import stat
99

0 commit comments

Comments
 (0)