[game-data-packager] 02/06: make-template: rename to_yaml to print_yaml

Simon McVittie smcv at debian.org
Mon Jan 25 10:26:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 81c9f2c73f447977231dfc6d43755af83a4aeb13
Author: Simon McVittie <smcv at debian.org>
Date:   Mon Jan 25 08:14:48 2016 +0000

    make-template: rename to_yaml to print_yaml
    
    That's what it actually does.
---
 game_data_packager/make_template.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index ac15d07..c92b6e8 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -570,7 +570,7 @@ class GameData(object):
         else:
             del self.package['license']
 
-    def to_yaml(self):
+    def print_yaml(self):
         print('---')
         if self.longname:
             print('longname: %s' % self.longname)
@@ -772,7 +772,7 @@ def main():
             gamedata.add_one_gog_sh(arg)
         else:
             gamedata.add_archive(arg, lower=args.lower)
-    gamedata.to_yaml()
+    gamedata.print_yaml()
 
 
 if __name__ == '__main__':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list