indent
authorJan Kupec <jkupec@suse.cz>
Fri, 10 Aug 2007 08:37:22 +0000 (08:37 +0000)
committerJan Kupec <jkupec@suse.cz>
Fri, 10 Aug 2007 08:37:22 +0000 (08:37 +0000)
src/zypper-misc.cc

index 3c627fe..d2de128 100644 (file)
@@ -400,8 +400,8 @@ int show_summary()
 {
   int retv = -1; // nothing to do;
 
-       if (!gSettings.machine_readable)
-         cerr << _("Summary:") << endl;
+  if (!gSettings.machine_readable)
+    cerr << _("Summary:") << endl;
 
   MIL << "Pool contains " << God->pool().size() << " items." << std::endl;
   for ( ResPool::const_iterator it = God->pool().begin(); it != God->pool().end(); ++it )
@@ -423,14 +423,14 @@ int show_summary()
           retv = ZYPPER_EXIT_INF_RESTART_NEEDED;
       }
 
-                       if (!gSettings.machine_readable)
-                       {
-             if ( it->status().isToBeInstalled() )
-               cerr << _("<install>   ");
-             if ( it->status().isToBeUninstalled() )
-               cerr << _("<uninstall> ");
-             cerr << *res << endl;
-                       }
+      if (!gSettings.machine_readable)
+      {
+        if ( it->status().isToBeInstalled() )
+          cerr << _("<install>   ");
+        if ( it->status().isToBeUninstalled() )
+          cerr << _("<uninstall> ");
+        cerr << *res << endl;
+      }
     }
   }
   if (retv == -1)