فهرست منبع

AMBARI-1790. Consider changing env comments in py scripts to use 'python' instead of 'python2.x' (Trevor McKay via croberts)

Chad Roberts 11 سال پیش
والد
کامیت
fc73c199f5
100فایلهای تغییر یافته به همراه100 افزوده شده و 100 حذف شده
  1. 1 1
      ambari-agent/src/main/puppet/modules/hdp-hadoop/files/checkWebUI.py
  2. 1 1
      ambari-agent/src/main/puppet/modules/hdp-yarn/files/validateYarnComponentStatus.py
  3. 1 1
      ambari-agent/src/main/python/ambari_agent/ActionQueue.py
  4. 1 1
      ambari-agent/src/main/python/ambari_agent/ActualConfigHandler.py
  5. 1 1
      ambari-agent/src/main/python/ambari_agent/AmbariAgent.py
  6. 1 1
      ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
  7. 1 1
      ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py
  8. 1 1
      ambari-agent/src/main/python/ambari_agent/Controller.py
  9. 1 1
      ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
  10. 1 1
      ambari-agent/src/main/python/ambari_agent/DataCleaner.py
  11. 1 1
      ambari-agent/src/main/python/ambari_agent/FileCache.py
  12. 1 1
      ambari-agent/src/main/python/ambari_agent/Hardware.py
  13. 1 1
      ambari-agent/src/main/python/ambari_agent/Heartbeat.py
  14. 1 1
      ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py
  15. 1 1
      ambari-agent/src/main/python/ambari_agent/HostCleanup.py
  16. 1 1
      ambari-agent/src/main/python/ambari_agent/HostInfo.py
  17. 1 1
      ambari-agent/src/main/python/ambari_agent/LiveStatus.py
  18. 1 1
      ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py
  19. 1 1
      ambari-agent/src/main/python/ambari_agent/PingPortListener.py
  20. 1 1
      ambari-agent/src/main/python/ambari_agent/ProcessHelper.py
  21. 1 1
      ambari-agent/src/main/python/ambari_agent/PuppetExecutor.py
  22. 1 1
      ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
  23. 1 1
      ambari-agent/src/main/python/ambari_agent/Register.py
  24. 1 1
      ambari-agent/src/main/python/ambari_agent/RepoInstaller.py
  25. 1 1
      ambari-agent/src/main/python/ambari_agent/StackVersionsFileHandler.py
  26. 1 1
      ambari-agent/src/main/python/ambari_agent/StatusCheck.py
  27. 1 1
      ambari-agent/src/main/python/ambari_agent/__init__.py
  28. 1 1
      ambari-agent/src/main/python/ambari_agent/hostname.py
  29. 1 1
      ambari-agent/src/main/python/ambari_agent/main.py
  30. 1 1
      ambari-agent/src/main/python/ambari_agent/manifestGenerator.py
  31. 1 1
      ambari-agent/src/main/python/ambari_agent/security.py
  32. 1 1
      ambari-agent/src/main/python/ambari_agent/shell.py
  33. 1 1
      ambari-agent/src/main/python/resource_management/__init__.py
  34. 1 1
      ambari-agent/src/main/python/resource_management/core/__init__.py
  35. 1 1
      ambari-agent/src/main/python/resource_management/core/base.py
  36. 1 1
      ambari-agent/src/main/python/resource_management/core/environment.py
  37. 1 1
      ambari-agent/src/main/python/resource_management/core/exceptions.py
  38. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/__init__.py
  39. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/accounts.py
  40. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/mount.py
  41. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/package/__init__.py
  42. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/package/yumrpm.py
  43. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/package/zypper.py
  44. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/service.py
  45. 1 1
      ambari-agent/src/main/python/resource_management/core/providers/system.py
  46. 1 1
      ambari-agent/src/main/python/resource_management/core/shell.py
  47. 1 1
      ambari-agent/src/main/python/resource_management/core/source.py
  48. 1 1
      ambari-agent/src/main/python/resource_management/core/system.py
  49. 1 1
      ambari-agent/src/main/python/resource_management/core/utils.py
  50. 1 1
      ambari-agent/src/main/python/resource_management/libraries/__init__.py
  51. 1 1
      ambari-agent/src/main/python/resource_management/libraries/functions/__init__.py
  52. 1 1
      ambari-agent/src/main/python/resource_management/libraries/functions/default.py
  53. 1 1
      ambari-agent/src/main/python/resource_management/libraries/functions/format.py
  54. 1 1
      ambari-agent/src/main/python/resource_management/libraries/providers/__init__.py
  55. 1 1
      ambari-agent/src/main/python/resource_management/libraries/providers/execute_hadoop.py
  56. 1 1
      ambari-agent/src/main/python/resource_management/libraries/providers/repository.py
  57. 1 1
      ambari-agent/src/main/python/resource_management/libraries/providers/template_config.py
  58. 1 1
      ambari-agent/src/main/python/resource_management/libraries/providers/xml_config.py
  59. 1 1
      ambari-agent/src/main/python/resource_management/libraries/resources/__init__.py
  60. 1 1
      ambari-agent/src/main/python/resource_management/libraries/resources/execute_hadoop.py
  61. 1 1
      ambari-agent/src/main/python/resource_management/libraries/resources/monitor_webserver.py
  62. 1 1
      ambari-agent/src/main/python/resource_management/libraries/resources/repository.py
  63. 1 1
      ambari-agent/src/main/python/resource_management/libraries/resources/template_config.py
  64. 1 1
      ambari-agent/src/main/python/resource_management/libraries/resources/xml_config.py
  65. 1 1
      ambari-agent/src/main/python/resource_management/libraries/script/__init__.py
  66. 1 1
      ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py
  67. 1 1
      ambari-agent/src/main/python/resource_management/libraries/script/repo_installer.py
  68. 1 1
      ambari-agent/src/main/python/resource_management/libraries/script/script.py
  69. 1 1
      ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
  70. 1 1
      ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py
  71. 1 1
      ambari-agent/src/test/python/ambari_agent/TestAgentActions.py
  72. 1 1
      ambari-agent/src/test/python/ambari_agent/TestAmbariAgent.py
  73. 1 1
      ambari-agent/src/test/python/ambari_agent/TestCertGeneration.py
  74. 1 1
      ambari-agent/src/test/python/ambari_agent/TestCheckWebUI.py
  75. 1 1
      ambari-agent/src/test/python/ambari_agent/TestCommandStatusDict.py
  76. 1 1
      ambari-agent/src/test/python/ambari_agent/TestController.py
  77. 1 1
      ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py
  78. 1 1
      ambari-agent/src/test/python/ambari_agent/TestDataCleaner.py
  79. 1 1
      ambari-agent/src/test/python/ambari_agent/TestFileCache.py
  80. 1 1
      ambari-agent/src/test/python/ambari_agent/TestGrep.py
  81. 1 1
      ambari-agent/src/test/python/ambari_agent/TestHardware.py
  82. 1 1
      ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py
  83. 1 1
      ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py
  84. 1 1
      ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py
  85. 1 1
      ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
  86. 1 1
      ambari-agent/src/test/python/ambari_agent/TestHostname.py
  87. 1 1
      ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py
  88. 1 1
      ambari-agent/src/test/python/ambari_agent/TestMain.py
  89. 1 1
      ambari-agent/src/test/python/ambari_agent/TestManifestGenerator.py
  90. 1 1
      ambari-agent/src/test/python/ambari_agent/TestNetUtil.py
  91. 1 1
      ambari-agent/src/test/python/ambari_agent/TestPingPortListener.py
  92. 1 1
      ambari-agent/src/test/python/ambari_agent/TestProcessHelper.py
  93. 1 1
      ambari-agent/src/test/python/ambari_agent/TestPuppetExecutor.py
  94. 1 1
      ambari-agent/src/test/python/ambari_agent/TestPuppetExecutorManually.py
  95. 1 1
      ambari-agent/src/test/python/ambari_agent/TestPythonExecutor.py
  96. 1 1
      ambari-agent/src/test/python/ambari_agent/TestRegistration.py
  97. 1 1
      ambari-agent/src/test/python/ambari_agent/TestRepoInstaller.py
  98. 1 1
      ambari-agent/src/test/python/ambari_agent/TestSecurity.py
  99. 1 1
      ambari-agent/src/test/python/ambari_agent/TestShell.py
  100. 1 1
      ambari-agent/src/test/python/ambari_agent/TestStackVersionsFileHandler.py

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp-hadoop/files/checkWebUI.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp-yarn/files/validateYarnComponentStatus.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/ActionQueue.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/ActualConfigHandler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/AmbariAgent.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/AmbariConfig.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/Controller.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/DataCleaner.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/FileCache.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/Hardware.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/Heartbeat.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/HostCheckReportFileHandler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/HostCleanup.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/HostInfo.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/LiveStatus.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/PingPortListener.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/ProcessHelper.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/PuppetExecutor.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/PythonExecutor.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/Register.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/RepoInstaller.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/StackVersionsFileHandler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/StatusCheck.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/hostname.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/main.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/manifestGenerator.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/security.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/shell.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/resource_management/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/base.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/environment.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/exceptions.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/accounts.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/mount.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/package/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/package/yumrpm.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/package/zypper.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/service.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/providers/system.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/shell.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/source.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/system.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/core/utils.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/functions/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/functions/default.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/functions/format.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/providers/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/providers/execute_hadoop.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/providers/repository.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/providers/template_config.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/providers/xml_config.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/resources/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/resources/execute_hadoop.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/resources/monitor_webserver.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/resources/repository.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/resources/template_config.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/resources/xml_config.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/script/__init__.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 """
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/script/repo_installer.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/main/python/resource_management/libraries/script/script.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestActionQueue.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestAgentActions.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestAmbariAgent.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestCertGeneration.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestCheckWebUI.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestCommandStatusDict.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestController.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 '''

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestDataCleaner.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 '''

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestFileCache.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestGrep.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestHardware.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestHostCheckReportFileHandler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestHostInfo.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestHostname.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestMain.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestManifestGenerator.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestNetUtil.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestPingPortListener.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestProcessHelper.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 '''

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestPuppetExecutor.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestPuppetExecutorManually.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestPythonExecutor.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestRegistration.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestRepoInstaller.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestSecurity.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestShell.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 '''

+ 1 - 1
ambari-agent/src/test/python/ambari_agent/TestStackVersionsFileHandler.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.6
+#!/usr/bin/env python
 
 '''
 Licensed to the Apache Software Foundation (ASF) under one

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است