diff options
Diffstat (limited to 'scripts/qapi/source.py')
-rw-r--r-- | scripts/qapi/source.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/qapi/source.py b/scripts/qapi/source.py index 03b6ede082..1ade864d7b 100644 --- a/scripts/qapi/source.py +++ b/scripts/qapi/source.py @@ -10,7 +10,6 @@ # See the COPYING file in the top-level directory. import copy -import sys from typing import List, Optional, TypeVar @@ -53,8 +52,6 @@ class QAPISourceInfo: return info def loc(self) -> str: - if self.fname is None: - return sys.argv[0] ret = self.fname if self.line is not None: ret += ':%d' % self.line |