[tracker/wip/sam/resource: 54/54] tracker-extract: Set a default serialization format



commit ba23a39d12be6ed153c6b0ada98b27539c2bbdae
Author: Sam Thursfield <ssssam gmail com>
Date:   Thu May 12 23:52:13 2016 +0100

    tracker-extract: Set a default serialization format
    
    This should be squashed somewhere, but i've left it for now as I think
    the history is not quite right somewhere.

 src/tracker-extract/tracker-main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index db8d081..1aba0bd 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -257,6 +257,10 @@ run_standalone (TrackerConfig *config)
                verbosity = 3;
        }
 
+       if (!output_format_name) {
+               output_format_name = "turtle";
+       }
+
        /* Look up the output format by name */
        enum_class = g_type_class_ref (TRACKER_TYPE_SERIALIZATION_FORMAT);
        enum_value = g_enum_get_value_by_nick (enum_class, output_format_name);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]