summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2017-03-02 18:47:22 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2017-03-02 18:47:22 +0000
commit891a1a0ec1a21433a4afcf4ff291696db9652d40 (patch)
treea65f16cae3a268c9707e710dd5e72a5336dffe71
parent3e19047000e89126be3e8a505bc6735e351af9ec (diff)
Add coding and shebang.
Reviewed by Artem Dergachev (D26030)! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296781 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/scan-view/share/Reporter.py3
-rw-r--r--tools/scan-view/share/startfile.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/scan-view/share/Reporter.py b/tools/scan-view/share/Reporter.py
index 294e05b44c..800af03b1a 100644
--- a/tools/scan-view/share/Reporter.py
+++ b/tools/scan-view/share/Reporter.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
"""Methods for reporting bugs."""
import subprocess, sys, os
diff --git a/tools/scan-view/share/startfile.py b/tools/scan-view/share/startfile.py
index e8fbe2d5a8..673935909f 100644
--- a/tools/scan-view/share/startfile.py
+++ b/tools/scan-view/share/startfile.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
"""Utility for opening a file using the default application in a cross-platform
manner. Modified from http://code.activestate.com/recipes/511443/.
"""