diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2016-12-31 20:12:24 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-01 12:02:05 -0500 |
commit | ea570bcb6704629a4a503548865a8dc19c872a39 (patch) | |
tree | 030b348fff7aab035fbbbf1afb589ae7b15b1c4c /mesonbuild | |
parent | f19bec34a911f4c67cfb0dc3d87794b57b6b49e3 (diff) | |
download | meson-ea570bcb6704629a4a503548865a8dc19c872a39.zip meson-ea570bcb6704629a4a503548865a8dc19c872a39.tar.gz meson-ea570bcb6704629a4a503548865a8dc19c872a39.tar.bz2 |
style: fix E265 violations
E265: block comment should start with '# '
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/backend/vs2010backend.py | 4 | ||||
-rw-r--r-- | mesonbuild/compilers.py | 2 | ||||
-rw-r--r-- | mesonbuild/scripts/depfixer.py | 18 |
3 files changed, 12 insertions, 12 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py index 37d4157..8bfc2e4 100644 --- a/mesonbuild/backend/vs2010backend.py +++ b/mesonbuild/backend/vs2010backend.py @@ -1070,5 +1070,5 @@ if %%errorlevel%% neq 0 goto :VCEnd''' tree = ET.ElementTree(root) tree.write(ofname, encoding='utf-8', xml_declaration=True) # ElementTree can not do prettyprinting so do it manually - #doc = xml.dom.minidom.parse(ofname) - #open(ofname, 'w').write(doc.toprettyxml()) + # doc = xml.dom.minidom.parse(ofname) + # open(ofname, 'w').write(doc.toprettyxml()) diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index a194277..c885afe 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -2446,7 +2446,7 @@ end program prog def get_dependency_gen_args(self, outtarget, outfile): # Disabled until this is fixed: # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62162 - #return ['-cpp', '-MMD', '-MQ', outtarget] + # return ['-cpp', '-MMD', '-MQ', outtarget] return [] def get_output_args(self, target): diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py index 1a19a8a..708814f 100644 --- a/mesonbuild/scripts/depfixer.py +++ b/mesonbuild/scripts/depfixer.py @@ -76,29 +76,29 @@ class SectionHeader(DataSizes): is_64 = True else: is_64 = False -#Elf64_Word +# Elf64_Word self.sh_name = struct.unpack(self.Word, ifile.read(self.WordSize))[0]; -#Elf64_Word +# Elf64_Word self.sh_type = struct.unpack(self.Word, ifile.read(self.WordSize))[0] -#Elf64_Xword +# Elf64_Xword if is_64: self.sh_flags = struct.unpack(self.XWord, ifile.read(self.XWordSize))[0] else: self.sh_flags = struct.unpack(self.Word, ifile.read(self.WordSize))[0] -#Elf64_Addr +# Elf64_Addr self.sh_addr = struct.unpack(self.Addr, ifile.read(self.AddrSize))[0]; -#Elf64_Off +# Elf64_Off self.sh_offset = struct.unpack(self.Off, ifile.read(self.OffSize))[0] -#Elf64_Xword +# Elf64_Xword if is_64: self.sh_size = struct.unpack(self.XWord, ifile.read(self.XWordSize))[0] else: self.sh_size = struct.unpack(self.Word, ifile.read(self.WordSize))[0] -#Elf64_Word +# Elf64_Word self.sh_link = struct.unpack(self.Word, ifile.read(self.WordSize))[0]; -#Elf64_Word +# Elf64_Word self.sh_info = struct.unpack(self.Word, ifile.read(self.WordSize))[0]; -#Elf64_Xword +# Elf64_Xword if is_64: self.sh_addralign = struct.unpack(self.XWord, ifile.read(self.XWordSize))[0] else: |