Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3792897
D1705.id4334.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
417 B
Referenced Files
None
Subscribers
None
D1705.id4334.diff
View Options
diff --git a/_tests/salt_test_case.py b/_tests/salt_test_case.py
--- a/_tests/salt_test_case.py
+++ b/_tests/salt_test_case.py
@@ -9,7 +9,8 @@
self.pillar = source.dunder()
self.grains = source.dunder()
- def import_data_from_yaml(self, filename):
+ @staticmethod
+ def import_data_from_yaml(filename):
with open(filename, 'r') as fd:
return yaml.load(fd.read())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 18:53 (21 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2269408
Default Alt Text
D1705.id4334.diff (417 B)
Attached To
Mode
D1705: Use static method
Attached
Detach File
Event Timeline
Log In to Comment