summaryrefslogtreecommitdiff
path: root/methods/file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/file.cc')
-rw-r--r--methods/file.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/methods/file.cc b/methods/file.cc
index 36f3c39b9..5cbf1924e 100644
--- a/methods/file.cc
+++ b/methods/file.cc
@@ -15,7 +15,6 @@
// Include Files /*{{{*/
#include <config.h>
-#include <apt-pkg/acquire-method.h>
#include <apt-pkg/aptconfiguration.h>
#include <apt-pkg/error.h>
#include <apt-pkg/hashes.h>
@@ -129,8 +128,5 @@ bool FileMethod::Fetch(FetchItem *Itm)
int main()
{
- setlocale(LC_ALL, "");
-
- FileMethod Mth;
- return Mth.Run();
+ return FileMethod().Run();
}