Salome HOME
style: black format
[tools/sat.git] / src / template.py
index 2b29aa14acdca92918ad1d80ba393a4400c7c77d..4fae24e169b8026147b703ec049c15cbbaa9233c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-#-*- coding:utf-8 -*-
+# -*- coding:utf-8 -*-
 #  Copyright (C) 2010-2013  CEA/DEN
 #
 #  This library is free software; you can redistribute it and/or
 
 import string
 
+
 class MyTemplate(string.Template):
-    delimiter = '¤'
+    delimiter = "¤"
+
 
 def substitute(template_file, subst_dic):
-    template = open(template_file, 'r')
+    template = open(template_file, "r")
     template = MyTemplate(template.read())
 
     return template.safe_substitute(subst_dic)
-