ajenti.plugin.iptables 0.1__tar.gz → 0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/PKG-INFO +1 -1
  2. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti.plugin.iptables.egg-info/PKG-INFO +1 -1
  3. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/plugin.yml +1 -1
  4. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/views.py +5 -2
  5. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/setup.py +1 -1
  6. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/MANIFEST.in +0 -0
  7. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/README +0 -0
  8. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti.plugin.iptables.egg-info/SOURCES.txt +0 -0
  9. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti.plugin.iptables.egg-info/dependency_links.txt +0 -0
  10. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti.plugin.iptables.egg-info/top_level.txt +0 -0
  11. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/.gitignore +0 -0
  12. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/README.md +0 -0
  13. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/__init__.py +0 -0
  14. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/af/LC_MESSAGES/app.js +0 -0
  15. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/af/LC_MESSAGES/app.po +0 -0
  16. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ar/LC_MESSAGES/app.js +0 -0
  17. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ar/LC_MESSAGES/app.po +0 -0
  18. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/be/LC_MESSAGES/app.js +0 -0
  19. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/be/LC_MESSAGES/app.po +0 -0
  20. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/bg/LC_MESSAGES/app.js +0 -0
  21. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/bg/LC_MESSAGES/app.po +0 -0
  22. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/bn/LC_MESSAGES/app.js +0 -0
  23. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/bn/LC_MESSAGES/app.po +0 -0
  24. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/bs/LC_MESSAGES/app.js +0 -0
  25. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/bs/LC_MESSAGES/app.po +0 -0
  26. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ca/LC_MESSAGES/app.js +0 -0
  27. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ca/LC_MESSAGES/app.po +0 -0
  28. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/cs/LC_MESSAGES/app.js +0 -0
  29. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/cs/LC_MESSAGES/app.po +0 -0
  30. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/da/LC_MESSAGES/app.js +0 -0
  31. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/da/LC_MESSAGES/app.po +0 -0
  32. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/de/LC_MESSAGES/app.js +0 -0
  33. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/de/LC_MESSAGES/app.po +0 -0
  34. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/el/LC_MESSAGES/app.js +0 -0
  35. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/el/LC_MESSAGES/app.po +0 -0
  36. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/en/LC_MESSAGES/app.po +0 -0
  37. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/eo/LC_MESSAGES/app.js +0 -0
  38. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/eo/LC_MESSAGES/app.po +0 -0
  39. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/es-ES/LC_MESSAGES/app.js +0 -0
  40. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/es-ES/LC_MESSAGES/app.po +0 -0
  41. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/et/LC_MESSAGES/app.js +0 -0
  42. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/et/LC_MESSAGES/app.po +0 -0
  43. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fa/LC_MESSAGES/app.js +0 -0
  44. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fa/LC_MESSAGES/app.po +0 -0
  45. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fi/LC_MESSAGES/app.js +0 -0
  46. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fi/LC_MESSAGES/app.po +0 -0
  47. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fr/LC_MESSAGES/app.js +0 -0
  48. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fr/LC_MESSAGES/app.po +0 -0
  49. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fy-NL/LC_MESSAGES/app.js +0 -0
  50. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/fy-NL/LC_MESSAGES/app.po +0 -0
  51. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/he/LC_MESSAGES/app.js +0 -0
  52. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/he/LC_MESSAGES/app.po +0 -0
  53. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/hr/LC_MESSAGES/app.js +0 -0
  54. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/hr/LC_MESSAGES/app.po +0 -0
  55. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/hu/LC_MESSAGES/app.js +0 -0
  56. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/hu/LC_MESSAGES/app.po +0 -0
  57. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/id/LC_MESSAGES/app.js +0 -0
  58. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/id/LC_MESSAGES/app.po +0 -0
  59. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/it/LC_MESSAGES/app.js +0 -0
  60. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/it/LC_MESSAGES/app.po +0 -0
  61. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ja/LC_MESSAGES/app.js +0 -0
  62. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ja/LC_MESSAGES/app.po +0 -0
  63. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ka/LC_MESSAGES/app.js +0 -0
  64. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ka/LC_MESSAGES/app.po +0 -0
  65. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ko/LC_MESSAGES/app.js +0 -0
  66. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ko/LC_MESSAGES/app.po +0 -0
  67. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/lt/LC_MESSAGES/app.js +0 -0
  68. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/lt/LC_MESSAGES/app.po +0 -0
  69. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/lv/LC_MESSAGES/app.js +0 -0
  70. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/lv/LC_MESSAGES/app.po +0 -0
  71. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/my/LC_MESSAGES/app.js +0 -0
  72. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/my/LC_MESSAGES/app.po +0 -0
  73. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/nl/LC_MESSAGES/app.js +0 -0
  74. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/nl/LC_MESSAGES/app.po +0 -0
  75. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/no/LC_MESSAGES/app.js +0 -0
  76. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/no/LC_MESSAGES/app.po +0 -0
  77. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/pl/LC_MESSAGES/app.js +0 -0
  78. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/pl/LC_MESSAGES/app.po +0 -0
  79. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/pt-BR/LC_MESSAGES/app.js +0 -0
  80. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/pt-BR/LC_MESSAGES/app.po +0 -0
  81. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/pt-PT/LC_MESSAGES/app.js +0 -0
  82. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/pt-PT/LC_MESSAGES/app.po +0 -0
  83. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ro/LC_MESSAGES/app.js +0 -0
  84. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ro/LC_MESSAGES/app.po +0 -0
  85. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ru/LC_MESSAGES/app.js +0 -0
  86. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/ru/LC_MESSAGES/app.po +0 -0
  87. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sk/LC_MESSAGES/app.js +0 -0
  88. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sk/LC_MESSAGES/app.po +0 -0
  89. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sl/LC_MESSAGES/app.js +0 -0
  90. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sl/LC_MESSAGES/app.po +0 -0
  91. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sr/LC_MESSAGES/app.js +0 -0
  92. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sr/LC_MESSAGES/app.po +0 -0
  93. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sr-CS/LC_MESSAGES/app.js +0 -0
  94. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sr-CS/LC_MESSAGES/app.po +0 -0
  95. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sv-SE/LC_MESSAGES/app.js +0 -0
  96. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sv-SE/LC_MESSAGES/app.po +0 -0
  97. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sw/LC_MESSAGES/app.js +0 -0
  98. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/sw/LC_MESSAGES/app.po +0 -0
  99. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/th/LC_MESSAGES/app.js +0 -0
  100. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/th/LC_MESSAGES/app.po +0 -0
  101. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/tlh-AA/LC_MESSAGES/app.js +0 -0
  102. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/tlh-AA/LC_MESSAGES/app.po +0 -0
  103. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/tr/LC_MESSAGES/app.js +0 -0
  104. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/tr/LC_MESSAGES/app.po +0 -0
  105. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/tzl/LC_MESSAGES/app.js +0 -0
  106. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/tzl/LC_MESSAGES/app.po +0 -0
  107. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/uk/LC_MESSAGES/app.js +0 -0
  108. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/uk/LC_MESSAGES/app.po +0 -0
  109. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/vi/LC_MESSAGES/app.js +0 -0
  110. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/vi/LC_MESSAGES/app.po +0 -0
  111. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/zh-CN/LC_MESSAGES/app.js +0 -0
  112. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/zh-CN/LC_MESSAGES/app.po +0 -0
  113. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/zh-TW/LC_MESSAGES/app.js +0 -0
  114. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/locale/zh-TW/LC_MESSAGES/app.po +0 -0
  115. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/main.py +0 -0
  116. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/requirements.txt +0 -0
  117. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/build/all.css +0 -0
  118. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/build/all.js +0 -0
  119. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/build/all.vendor.css +0 -0
  120. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/build/all.vendor.js +0 -0
  121. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/js/controllers/index.controller.es +0 -0
  122. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/js/module.es +0 -0
  123. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/js/routing.es +0 -0
  124. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/ajenti_plugin_iptables/resources/partial/index.html +0 -0
  125. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/requirements.txt +0 -0
  126. {ajenti.plugin.iptables-0.1 → ajenti.plugin.iptables-0.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ajenti.plugin.iptables
3
- Version: 0.1
3
+ Version: 0.2
4
4
  Summary: iptables
5
5
  Home-page: http://ajenti.org
6
6
  Author: Arnaud Kientz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ajenti.plugin.iptables
3
- Version: 0.1
3
+ Version: 0.2
4
4
  Summary: iptables
5
5
  Home-page: http://ajenti.org
6
6
  Author: Arnaud Kientz
@@ -2,7 +2,7 @@ name: iptables
2
2
  author: Arnaud Kientz
3
3
  email: arnaud@linuxmuster.net
4
4
  url: http://ajenti.org
5
- version: '0.1'
5
+ version: '0.2'
6
6
  title: 'iptables'
7
7
  icon:
8
8
  dependencies:
@@ -24,7 +24,11 @@ class Handler(HttpPlugin):
24
24
  @get(r'/api/iptables')
25
25
  @endpoint(api=True)
26
26
  def handle_api_get_iptables(self, http_context):
27
- chains_list = subprocess.check_output(f"{self.iptables} -L -n --line-numbers".split()).decode()
27
+ try:
28
+ chains_list = subprocess.check_output(f"{self.iptables} -L -n --line-numbers".split()).decode()
29
+ except Exception as e:
30
+ logging.error(e)
31
+ raise EndpointError(e)
28
32
  chains = {}
29
33
 
30
34
  valid_rule = False
@@ -61,7 +65,6 @@ class Handler(HttpPlugin):
61
65
  @endpoint(api=True)
62
66
  def handle_api_delete_iptables(self, http_context, chain, number):
63
67
  try:
64
- print(f"{self.iptables} -D {chain} {number}".split())
65
68
  subprocess.check_output(f"{self.iptables} -D {chain} {number}".split())
66
69
  return {'type': 'success', 'msg': _('Rule successfully deleted')}
67
70
  except Exception as e:
@@ -7,7 +7,7 @@ __requires = [dep.split('#')[0].strip() for dep in filter(None, open('requiremen
7
7
 
8
8
  setup(
9
9
  name='ajenti.plugin.iptables',
10
- version='0.1',
10
+ version='0.2',
11
11
  python_requires='>=3',
12
12
  install_requires=__requires,
13
13
  description='iptables',