hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
39e065fd78fd59856ec63efe5d488028ce4a6926
diff --git a/plugins/inputs/statsd/README.md b/plugins/inputs/statsd/README.md index <HASH>..<HASH> 100644 --- a/plugins/inputs/statsd/README.md +++ b/plugins/inputs/statsd/README.md @@ -75,6 +75,14 @@ ## Max duration (TTL) for each metric to stay cached/reported without being updated. # max_ttl = "10h" + + ##...
fix: sanitize stasd names (#<I>)
influxdata_telegraf
train
3cc4232e517576424fb25aaf6a41c6f7940f1044
diff --git a/src/test/org/openscience/cdk/io/ChemObjectWriterTest.java b/src/test/org/openscience/cdk/io/ChemObjectWriterTest.java index <HASH>..<HASH> 100644 --- a/src/test/org/openscience/cdk/io/ChemObjectWriterTest.java +++ b/src/test/org/openscience/cdk/io/ChemObjectWriterTest.java @@ -31,6 +31,9 @@ import org.open...
Very basic tests for the setWriter() methods (it cannot test if something is really written, as we do not know what objects are supported by a random reader; therefore, we just expect that no exception is thrown)
cdk_cdk
train
5c26899abef1a40031b5c50605f25f07e084a121
diff --git a/test/test_helper.py b/test/test_helper.py index <HASH>..<HASH> 100644 --- a/test/test_helper.py +++ b/test/test_helper.py @@ -4,7 +4,7 @@ import unittest from mock import patch from pyactiveresource.activeresource import ActiveResource from pyactiveresource.util import xml_to_dict -from pyactiveresource...
update for the latest pyactiveresource testing fix
Shopify_shopify_python_api
train
95a8482b820e71343bcdd99341f22038062ab629
diff --git a/js/lib/mediawiki.SelectiveSerializer.js b/js/lib/mediawiki.SelectiveSerializer.js index <HASH>..<HASH> 100644 --- a/js/lib/mediawiki.SelectiveSerializer.js +++ b/js/lib/mediawiki.SelectiveSerializer.js @@ -343,10 +343,8 @@ SSP.handleSerializedResult = function( state, res, serID ) { return src; } - ...
Selser: clear saved nls on receiving non-nl unmodified content. * Improved tracing output for selser. * 2 more selser tests green. Change-Id: Iadd0bb<I>d<I>ae<I>d<I>f<I>e<I>ae0dc<I>c7
wikimedia_parsoid
train
d875865bd127e1d8762798768c39d724e790b95c
diff --git a/authomatic/providers/oauth2.py b/authomatic/providers/oauth2.py index <HASH>..<HASH> 100644 --- a/authomatic/providers/oauth2.py +++ b/authomatic/providers/oauth2.py @@ -879,6 +879,7 @@ class Foursquare(OAuth2): * gender * id * last_name + * location * name * phone * pictur...
Added support for user location to Foursquare.
authomatic_authomatic
train
7dc910ef41060fdb6716af0ae0c708ad5e28656e
diff --git a/spec/lib/simple_token_authentication/token_authentication_handler_spec.rb b/spec/lib/simple_token_authentication/token_authentication_handler_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/simple_token_authentication/token_authentication_handler_spec.rb +++ b/spec/lib/simple_token_authentication/token_...
Minor refactor use Object#send to call private methods in specs Thanks @nicholasbs for noticeing this!
gonzalo-bulnes_simple_token_authentication
train
247c6ee3bc9b959fcd5674ad5df98c4971e3f424
diff --git a/test/integration/boosting_queries_test.rb b/test/integration/boosting_queries_test.rb index <HASH>..<HASH> 100644 --- a/test/integration/boosting_queries_test.rb +++ b/test/integration/boosting_queries_test.rb @@ -34,7 +34,7 @@ module Tire end teardown do - # @index.delete + ...
[TEST] Fixed missing index delete in teardown for the `boosting` query test
karmi_retire
train
519e2e090576d7a35793d25a799aa6474a59d364
diff --git a/scripts/illumina_finished_msg.py b/scripts/illumina_finished_msg.py index <HASH>..<HASH> 100644 --- a/scripts/illumina_finished_msg.py +++ b/scripts/illumina_finished_msg.py @@ -109,11 +109,9 @@ def _read_reported(msg_db): def _get_directories(config): for directory in config["dump_directories"]: -...
Generalize wild card for finding illumina output directories
bcbio_bcbio-nextgen
train
8cb0092f4bb3d644156c47205c65ed69bab8be47
diff --git a/law/contrib/docker/sandbox.py b/law/contrib/docker/sandbox.py index <HASH>..<HASH> 100644 --- a/law/contrib/docker/sandbox.py +++ b/law/contrib/docker/sandbox.py @@ -41,11 +41,17 @@ class DockerSandbox(Sandbox): return None if ":" not in self.image else self.image.split(":", 1)[1] def _dock...
Forward keyboard interrupts to docker sandboxes.
riga_law
train
e1fe06379821e1f4264eac04847f74fb06b3f79b
diff --git a/ezp/Content/Service.php b/ezp/Content/Service.php index <HASH>..<HASH> 100644 --- a/ezp/Content/Service.php +++ b/ezp/Content/Service.php @@ -111,13 +111,21 @@ class Service extends BaseService /** * Loads a content from its id ($contentId) * - * @param int $contentId + * @param mi...
Implement: Support for specifying version number on ContentService->load()
ezsystems_ezpublish-kernel
train
e3ac9c61daf23eef563d55ac2dd591b3090c210c
diff --git a/lib/parse.js b/lib/parse.js index <HASH>..<HASH> 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -39,14 +39,15 @@ function readShebang(command) { return shebang; } -function escapeArg(arg, skipQuote) { +function escapeArg(arg, quote) { // Convert to string arg = '' + arg; - // Escape...
Revert commit related with skipping quotes.
IndigoUnited_node-cross-spawn-async
train
292be4a7612bbe3a01a3d0b2d363903568251624
diff --git a/spec/controllers/socializer/audience_lists_controller_spec.rb b/spec/controllers/socializer/audience_lists_controller_spec.rb index <HASH>..<HASH> 100644 --- a/spec/controllers/socializer/audience_lists_controller_spec.rb +++ b/spec/controllers/socializer/audience_lists_controller_spec.rb @@ -39,6 +39,5 @@...
Extra empty line detected at block body end.
socializer_socializer
train
36d11793b3816ad99d18ddc3206e9d5627de4004
diff --git a/kernel/classes/ezpersistentobject.php b/kernel/classes/ezpersistentobject.php index <HASH>..<HASH> 100644 --- a/kernel/classes/ezpersistentobject.php +++ b/kernel/classes/ezpersistentobject.php @@ -867,7 +867,7 @@ class eZPersistentObject $grouping_text = ""; if ( isset( $def["grouping"] ...
Added check for $def["grouping"]... … as done in <URL>
ezsystems_ezpublish-legacy
train
e981b9d52345406b5ce92c055ca0a388a8047775
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -14,9 +14,11 @@ def test_converting_non_tz_aware_date_returns_tz_aware(): assert utc_time.tzinfo is None assert convert_datetime_to_utc(utc_time) == datetime(year=2014, month=1...
Fix convert_datetime_to_utc() test. The test had two flaws: 1. The actual date was different (4/1 vs 1/1) 2. The timezone usage was not correct (using the timezone as an argument of the datetime constructors won't work with timezones with daylight saving time according to documentation).
linkedin_pyexchange
train
153e2ec67270caded34daf5891cfa50cc70437cc
diff --git a/TYPO3.Neos/Resources/Public/Backend/JavaScript/Dashboard/UnpublishedContentView.js b/TYPO3.Neos/Resources/Public/Backend/JavaScript/Dashboard/UnpublishedContentView.js index <HASH>..<HASH> 100644 --- a/TYPO3.Neos/Resources/Public/Backend/JavaScript/Dashboard/UnpublishedContentView.js +++ b/TYPO3.Neos/Resou...
[~TASK] TYPO3: Add scrollbars for unpublished content data view The inner data view needs a fixed height to enable the autoScroll feature overflow. Change-Id: Ifbaeb<I>c<I>d6b<I>ff<I>dbde1eab1b<I> Resolves: #<I> Original-Commit-Hash: <I>f4eeef<I>b<I>cecc<I>b<I>e<I>
neos_neos-development-collection
train
f25961c5e9355ddbc87aaefbeb1666bf4351b201
diff --git a/telemetry/telemetry/core/platform/profiler/strace_profiler.py b/telemetry/telemetry/core/platform/profiler/strace_profiler.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/platform/profiler/strace_profiler.py +++ b/telemetry/telemetry/core/platform/profiler/strace_profiler.py @@ -11,7 +11,7 @@...
telemetry: fix strace profiler. This was broken by <URL>
catapult-project_catapult
train
bc13d6072acac2b67559175021ccbd12856ce5bb
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='databench', - version='0.0.3', + version='0.0.4', packages=['databench', 'scripts', 'analyses_packaged'], license='LICENSE', description='...
Include templates and static folders in pip package. Version <I>.
svenkreiss_databench
train
cb2157b853007d07d3ab90ca092b5a20cd00c413
diff --git a/lib/ruby-cbc/problem.rb b/lib/ruby-cbc/problem.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-cbc/problem.rb +++ b/lib/ruby-cbc/problem.rb @@ -124,6 +124,15 @@ module Cbc Cbc_wrapper.Cbc_isSolutionLimitReached(@cbc_model) end + def objective_value + Cbc_wrapper.Cbc_getObjValue(@cbc_mod...
Added objective and bound values accessor
gverger_ruby-cbc
train
f035567dd2b7f1724f7c33cded1ea01d3e0f0e8e
diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/mapreduce/aggregation/AvgAggregationTest.java b/hazelcast-client/src/test/java/com/hazelcast/client/mapreduce/aggregation/AvgAggregationTest.java index <HASH>..<HASH> 100644 --- a/hazelcast-client/src/test/java/com/hazelcast/client/mapreduce/aggregation/A...
Enabled AvgAggregationTest; Sancar is waiting for a build failure for a report
hazelcast_hazelcast
train
7d5fe3e15742ba6fbf09b340b7179da36e004dc8
diff --git a/models/pauling.go b/models/pauling.go index <HASH>..<HASH> 100644 --- a/models/pauling.go +++ b/models/pauling.go @@ -41,18 +41,19 @@ func paulingReconnect() { return } + var err error mu.Lock() defer mu.Unlock() helpers.Logger.Debug("Reconnecting to Pauling on port %s", config.Constants.Pauli...
Call Pauling.Call on successful reconnect
TF2Stadium_Helen
train
d7c4670efdb21d7eb324359e44c14cd7d7f560df
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,7 @@ const jsonMask = require('json-mask') +const badCode = code => code >= 300 || code < 200 + module.exports = function (opt) { opt = opt || {} @@ -12,20 +14,26 @@ module.exports = function (opt) { retu...
Implement #4 Also returns this.send(body) like original .json methods
nemtsov_express-partial-response
train
4c09e2aeaf80726c22c845c62b4a53010303f9e7
diff --git a/tftp_test.go b/tftp_test.go index <HASH>..<HASH> 100644 --- a/tftp_test.go +++ b/tftp_test.go @@ -313,13 +313,12 @@ func (b *testBackend) handleWrite(filename string, wt io.WriterTo) error { } } buf := &bytes.Buffer{} - n, err := wt.WriteTo(buf) + _, err := wt.WriteTo(buf) if err != nil { fmt.F...
remove too extendive debug printing during tests run
pin_tftp
train
0ebd3ac82a7daf6a3610dcbcd4ff94c20f2070b8
diff --git a/lib/i18n/exceptions.rb b/lib/i18n/exceptions.rb index <HASH>..<HASH> 100644 --- a/lib/i18n/exceptions.rb +++ b/lib/i18n/exceptions.rb @@ -14,7 +14,7 @@ module I18n # rescue_format is removed if options[:rescue_format] == :html if !defined?(@rescue_format_deprecation) - ...
Fix typo in deprecation about :rescue_format. Closes #<I> [ci skip]
ruby-i18n_i18n
train
cfc16f7185282a273b381b4c9d3cb8f4a219c155
diff --git a/juicer/common/Cart.py b/juicer/common/Cart.py index <HASH>..<HASH> 100644 --- a/juicer/common/Cart.py +++ b/juicer/common/Cart.py @@ -99,7 +99,7 @@ class Cart(object): os.mkdir(CART_LOCATION) cart_file = os.path.join(CART_LOCATION, self.name) - juicer.utils.write_json_documen...
Change the carts __dict__ method to _cart_dict. Closes #<I>
juicer_juicer
train
0400bca5a23fc86d1c90a19f98f819e7c15e8822
diff --git a/views/js/core/communicator/poll.js b/views/js/core/communicator/poll.js index <HASH>..<HASH> 100644 --- a/views/js/core/communicator/poll.js +++ b/views/js/core/communicator/poll.js @@ -71,8 +71,8 @@ define([ * * A security token can be added, in the header `X-Auth-Token` for the request and in...
Better error type in communicator/poll
oat-sa_tao-core
train
7790bcacffa8ad33bb94e4fad0f8b9f092e3ffb9
diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -1153,10 +1153,12 @@ class DboSource extends DataSource { } $linkedModel = $model->{$className...
Allow afterFind() to fully remove an associated record. By returnning array() or unsetting the 0'th result an afterFind callback should be able to fully remove data from the results. Fixes #<I>
cakephp_cakephp
train
a7ca5b1161439420761914ce0df416495ec1f164
diff --git a/tensor2tensor/utils/diet_test.py b/tensor2tensor/utils/diet_test.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/diet_test.py +++ b/tensor2tensor/utils/diet_test.py @@ -53,7 +53,7 @@ class DietVarTest(tf.test.TestCase): with self.test_session() as sess: sess.run(tf.global_variables_ini...
diet_test: xrange(<I>) --> range(<I>) for Python 3 (#<I>) xrange() was removed in Python 3. For counting to <I>, `from six.moves import xrange` would be overkill.
tensorflow_tensor2tensor
train
5abd2da0606d7720f24bf6d44b2aa5e4e4d40aee
diff --git a/Editor/src/pl/kotcrab/vis/editor/Editor.java b/Editor/src/pl/kotcrab/vis/editor/Editor.java index <HASH>..<HASH> 100644 --- a/Editor/src/pl/kotcrab/vis/editor/Editor.java +++ b/Editor/src/pl/kotcrab/vis/editor/Editor.java @@ -217,6 +217,7 @@ public class Editor extends ApplicationAdapter implements EventLi...
Getting module from editor is now deprecated
kotcrab_vis-ui
train
ccd4c2444cbfbb74d1ab39063c0934d1745ec888
diff --git a/beetle/base.py b/beetle/base.py index <HASH>..<HASH> 100644 --- a/beetle/base.py +++ b/beetle/base.py @@ -25,3 +25,23 @@ class Config: with open(path) as fo: data = yaml.load(fo.read()) return cls(data) + + +def default_copy(path, output): + pass + + +class Includer(ob...
Sketch of includer, very borked right now.
cknv_beetle
train
29b83217e642ed5f5e1880a7b0209a59709e0463
diff --git a/satpy/composites/__init__.py b/satpy/composites/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/composites/__init__.py +++ b/satpy/composites/__init__.py @@ -1436,10 +1436,8 @@ class StaticImageCompositor(GenericCompositor): # most important: set 'name' of the image img.attrs.update(s...
Check area ndims to see if image was georeferenced
pytroll_satpy
train
578fbe99a878f472f1315838b093d2faa7c1d80b
diff --git a/lib/space/model/project.rb b/lib/space/model/project.rb index <HASH>..<HASH> 100644 --- a/lib/space/model/project.rb +++ b/lib/space/model/project.rb @@ -28,7 +28,7 @@ module Space def number(name) if number = names.index(name) - number + 1 + number else ...
[PoC] Fix improper Dashboard list indexing Having two repos I'm facing improper list indexing in Dashboard. Here is how it looking <URL>
svenfuchs_space
train
802b0253febd698d3f7844b539e96da462059940
diff --git a/trunk/JLanguageTool/src/test/org/languagetool/rules/patterns/PatternRuleTest.java b/trunk/JLanguageTool/src/test/org/languagetool/rules/patterns/PatternRuleTest.java index <HASH>..<HASH> 100644 --- a/trunk/JLanguageTool/src/test/org/languagetool/rules/patterns/PatternRuleTest.java +++ b/trunk/JLanguageTool...
- change to detect more errors in grammar.xml when doing "ant test" when an exception implies another one as in: <exception>xx</exception> <exception postag="A">xx</exception> In above example, 1st exception implies the 2nd exception so 2nd exception is useless.
languagetool-org_languagetool
train
8d1d060d66353033b5aec0d644a8dff4c8dd0784
diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php index <HASH>..<HASH> 100644 --- a/src/Composer/Command/RequireCommand.php +++ b/src/Composer/Command/RequireCommand.php @@ -51,8 +51,7 @@ EOT protected function execute(InputInterface $input, OutputInterface $output) ...
Made getComposerFile static.
mothership-ec_composer
train
f0cedfc017076772894fa5f52e167c7935c097af
diff --git a/src/Instantiator/Instantiator.php b/src/Instantiator/Instantiator.php index <HASH>..<HASH> 100644 --- a/src/Instantiator/Instantiator.php +++ b/src/Instantiator/Instantiator.php @@ -130,11 +130,13 @@ final class Instantiator implements InstantiatorInterface * * @link http://news.php.net/php.int...
Splitting check of the PHP version to its own method
doctrine_instantiator
train
2dd50ade7be0e195a27110a68437205b9c4f6a58
diff --git a/app/models/maestrano/connector/rails/synchronization.rb b/app/models/maestrano/connector/rails/synchronization.rb index <HASH>..<HASH> 100644 --- a/app/models/maestrano/connector/rails/synchronization.rb +++ b/app/models/maestrano/connector/rails/synchronization.rb @@ -41,7 +41,7 @@ module Maestrano::Conne...
Fixes synchronization cleanings
maestrano_maestrano-connector-rails
train
50a8df353a0c38df8342047d4e2463489a511815
diff --git a/stream/src/main/java/com/annimon/stream/IntStream.java b/stream/src/main/java/com/annimon/stream/IntStream.java index <HASH>..<HASH> 100644 --- a/stream/src/main/java/com/annimon/stream/IntStream.java +++ b/stream/src/main/java/com/annimon/stream/IntStream.java @@ -559,7 +559,7 @@ public final class IntStr...
Fix IntStream limit does not use hasNext()
aNNiMON_Lightweight-Stream-API
train
b85c3eb99b3f28bd4cc3c90101eee79ba9db7f1b
diff --git a/holoviews/ipython/magics.py b/holoviews/ipython/magics.py index <HASH>..<HASH> 100644 --- a/holoviews/ipython/magics.py +++ b/holoviews/ipython/magics.py @@ -270,9 +270,12 @@ class OutputMagic(OptionsMagic): @classmethod def switch_backend(cls, options): backend = options['backend'] + ...
Updated handling of options in the output magic
pyviz_holoviews
train
e18a373ce96bdc59f64360df55a50b1900e84cd5
diff --git a/jsmpp/src/main/java/org/jsmpp/session/SMPPSession.java b/jsmpp/src/main/java/org/jsmpp/session/SMPPSession.java index <HASH>..<HASH> 100644 --- a/jsmpp/src/main/java/org/jsmpp/session/SMPPSession.java +++ b/jsmpp/src/main/java/org/jsmpp/session/SMPPSession.java @@ -45,6 +45,7 @@ import org.jsmpp.bean.ESMCl...
Log reported interface version in Bind Response
opentelecoms-org_jsmpp
train
957ed8c6b682e2d34d07d3c1e65d5a238743fd98
diff --git a/js/Display/Display.js b/js/Display/Display.js index <HASH>..<HASH> 100644 --- a/js/Display/Display.js +++ b/js/Display/Display.js @@ -4,12 +4,12 @@ import Dom from '../Core/Dom'; /** * The `Display` class creates and manipulates display buffer for the game - * + * */ class Display { /** ...
FIXED: compose all layers in rendering order before applying 'post' rendering effects
AthenaJS_athenajs
train
0202104fc8d2d90f50db65a901c30106cef64c6a
diff --git a/manager/state/raft/testutils/testutils.go b/manager/state/raft/testutils/testutils.go index <HASH>..<HASH> 100644 --- a/manager/state/raft/testutils/testutils.go +++ b/manager/state/raft/testutils/testutils.go @@ -81,11 +81,11 @@ func WaitForCluster(t *testing.T, clockSource *fakeclock.FakeClock, nodes map...
wait until leader node is ready for proposal in WaitForCluster
docker_swarmkit
train
4e3716aaa3ed253cc85522fb241d4c369d6862e9
diff --git a/Eloquent/Model.php b/Eloquent/Model.php index <HASH>..<HASH> 100644 --- a/Eloquent/Model.php +++ b/Eloquent/Model.php @@ -394,6 +394,10 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializab $this->getConnectionName() ); + $model->setTable( + ...
Fixes issue: #<I> (Model setTable does not return correct table in collection attributes)
illuminate_database
train
3d5cd0287a41b1a41c1fa465ef7ca0a5b1427502
diff --git a/src/main/java/org/vafer/jdeb/ant/Mapper.java b/src/main/java/org/vafer/jdeb/ant/Mapper.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/vafer/jdeb/ant/Mapper.java +++ b/src/main/java/org/vafer/jdeb/ant/Mapper.java @@ -39,8 +39,8 @@ public final class Mapper { private int gid = -1; private...
Fix a problem with filemode in the ant task The file mode should be a string in the Ant task so that it will be passed as a String to the PermMapper where the right Constructor will convert it to an int using parseInt(mode, 8).
tcurdt_jdeb
train
bcfc2862c04bf12dbaa7d46711627b62fb34a470
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19,6 +19,11 @@ function plugin(options){ console.error(err); } console.log(info); + + for (var file in files) { + files[file].webpackS...
adds webpack stats to ms metadata
blakeandrewwood_metalsmith-webpack2
train
646d2cddeff569bbd3a5c879896bc0015dde0ed2
diff --git a/Library/ClassMethod.php b/Library/ClassMethod.php index <HASH>..<HASH> 100644 --- a/Library/ClassMethod.php +++ b/Library/ClassMethod.php @@ -235,6 +235,11 @@ class ClassMethod return $this->returnTypesRaw; } + public function hasReturnTypesRaw() + { + return !empty($this->retu...
Fixed stubs generation for returned value
phalcon_zephir
train
dd7cbba4bbf43637a9421660747e840073484f2e
diff --git a/webwatcher/fetcher/__init__.py b/webwatcher/fetcher/__init__.py index <HASH>..<HASH> 100644 --- a/webwatcher/fetcher/__init__.py +++ b/webwatcher/fetcher/__init__.py @@ -1,7 +1,7 @@ import logging import traceback -from .browser import browser +from .browser import browser, cleanup from .simple import...
Reuse single instance of FireFox
kibitzr_kibitzr
train
f04c58747ef34fae61312c97ce6defae82a1d430
diff --git a/lib/oeffi.rb b/lib/oeffi.rb index <HASH>..<HASH> 100644 --- a/lib/oeffi.rb +++ b/lib/oeffi.rb @@ -13,8 +13,8 @@ module Oeffi yield(configuration) end - def autocomplete(string="") - Oeffi::AutocompleteQuery.new(string).perform + def autocomplete(string="", location={}) + Oeffi...
attach the distance for the json output based on a parameter passed to the Autocomplete query
floriank_oeffi
train
a4b8a07ffcc550ac45930be1676ce2a62f76cbd4
diff --git a/lib/salt/site.rb b/lib/salt/site.rb index <HASH>..<HASH> 100644 --- a/lib/salt/site.rb +++ b/lib/salt/site.rb @@ -33,8 +33,8 @@ module Salt @source_paths[path.to_sym] = File.join(@source_paths[:root], path) end - @output_paths[:site] = File.join(@source_paths[:root], @config['output'...
Switched to use 'paths' in place of 'output'.
waferbaby_dimples
train
ab89fc2c662fb756d61ba3f11539a929e4cf20ee
diff --git a/bokeh/charts/builders/donut_builder.py b/bokeh/charts/builders/donut_builder.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/builders/donut_builder.py +++ b/bokeh/charts/builders/donut_builder.py @@ -27,7 +27,7 @@ from ...models.glyphs import AnnularWedge from ...models.renderers import GlyphRenderer f...
Cleanup initial version and add some comments to what is currently being done. Add example that adds spacing between the donut levels.
bokeh_bokeh
train
31153bf69fbbab31bd1e79d72f17cb18a6ce412a
diff --git a/core/cache/machine.go b/core/cache/machine.go index <HASH>..<HASH> 100644 --- a/core/cache/machine.go +++ b/core/cache/machine.go @@ -45,7 +45,7 @@ func (m *Machine) Units() ([]*Unit, error) { if unit.details.Subordinate { principalUnit, found := m.model.units[unit.details.Principal] if !found {...
WatchApplicationLXDProfiles now returns a watcher and an error. WatchApplicationLXDProfiles makes use of machine.Units() and other improvements to setup
juju_juju
train
d97585d592bfda31c09a602d93f038c18e16bb3c
diff --git a/tests/test_daft_search.py b/tests/test_daft_search.py index <HASH>..<HASH> 100644 --- a/tests/test_daft_search.py +++ b/tests/test_daft_search.py @@ -207,6 +207,13 @@ class DaftTest(unittest.TestCase): self.assertTrue(len(listings) > 0) self.assertTrue(listings[0].bedrooms == '1 bed') +...
Add New_Homes test for coverage
AnthonyBloomer_daftlistings
train
80a0bc2a97089732d8fecf1a13a5ea1a7f455ae1
diff --git a/test/client_test.rb b/test/client_test.rb index <HASH>..<HASH> 100644 --- a/test/client_test.rb +++ b/test/client_test.rb @@ -4,28 +4,49 @@ require 'minitest/pride' class ClientTest < Minitest::Test - def test_client_requires_host_argument - assert_raises(ArgumentError) { DiscourseApi::Client.new ...
More understandable minispec with it and before blocks
discourse_discourse_api
train
75fe007887ba60be2c1469d5c0649bd8a3d00aab
diff --git a/src/Adapters/MySQL.php b/src/Adapters/MySQL.php index <HASH>..<HASH> 100644 --- a/src/Adapters/MySQL.php +++ b/src/Adapters/MySQL.php @@ -31,7 +31,8 @@ class MySQL extends SQL ':expire' => $expire, )); - return $statement->rowCount() === 1; + // 1 = insert; 2 = update ...
Fix MySQL edgecases concerning odd REPLACE INTO row count
matthiasmullie_scrapbook
train
88daf0c883fd8a624facaaa4bc1a102d037a0b88
diff --git a/htdocs/api/v1/alert-dbapi.py b/htdocs/api/v1/alert-dbapi.py index <HASH>..<HASH> 100755 --- a/htdocs/api/v1/alert-dbapi.py +++ b/htdocs/api/v1/alert-dbapi.py @@ -21,7 +21,7 @@ import logging import pytz import re -__version__ = '1.9.3' +__version__ = '1.9.4' BROKER_LIST = [('localhost', 61613)] # l...
Dont swamp alert console with old CLOSED alerts
alerta_alerta
train
593a5dfb83a25d2ba86bca8b221afec220319993
diff --git a/lib/pay/paddle.rb b/lib/pay/paddle.rb index <HASH>..<HASH> 100644 --- a/lib/pay/paddle.rb +++ b/lib/pay/paddle.rb @@ -44,6 +44,13 @@ module Pay options.merge(owner_sgid: owner.to_sgid.to_s).to_json end + def self.owner_from_passthrough(passthrough) + passthrough_json = JSON.parse(pass...
Add passthrough fallback for paddle subscription payment succeeded webhook (#<I>)
jasoncharnes_pay
train
59d27731bd85fb867b9d330e5077ea7fd1ef4743
diff --git a/rome/src/main/java/com/rometools/rome/io/impl/DateParser.java b/rome/src/main/java/com/rometools/rome/io/impl/DateParser.java index <HASH>..<HASH> 100644 --- a/rome/src/main/java/com/rometools/rome/io/impl/DateParser.java +++ b/rome/src/main/java/com/rometools/rome/io/impl/DateParser.java @@ -150,8 +150,9 ...
Fixed #<I> (#<I>) * Fixed #<I> * Remove commented out code.
rometools_rome
train
6127f06d8824613f9385c676123fe63463237e22
diff --git a/src/Behaviour/IsArchivedInterface/Implementation.php b/src/Behaviour/IsArchivedInterface/Implementation.php index <HASH>..<HASH> 100644 --- a/src/Behaviour/IsArchivedInterface/Implementation.php +++ b/src/Behaviour/IsArchivedInterface/Implementation.php @@ -2,11 +2,9 @@ namespace ActiveCollab\DatabaseSt...
If record position is not set, set the next available position
activecollab_databasestructure
train
d803c659628e37342ae89d7641228c363349116b
diff --git a/lib/synvert/core/rewriter/action/prepend_action.rb b/lib/synvert/core/rewriter/action/prepend_action.rb index <HASH>..<HASH> 100644 --- a/lib/synvert/core/rewriter/action/prepend_action.rb +++ b/lib/synvert/core/rewriter/action/prepend_action.rb @@ -16,6 +16,10 @@ module Synvert::Core end ...
fix prepend action for def and defs nodes
xinminlabs_synvert-core
train
c5958fc0c43190b0bf6fd72188373e97ab02ce25
diff --git a/pyrogram/methods/messages/search_global.py b/pyrogram/methods/messages/search_global.py index <HASH>..<HASH> 100644 --- a/pyrogram/methods/messages/search_global.py +++ b/pyrogram/methods/messages/search_global.py @@ -102,7 +102,7 @@ class SearchGlobal: last = messages[-1] - off...
Fix offset_date not being an integer timestamp Closes #<I>
pyrogram_pyrogram
train
a5c2a47c4df044f4ce422bf54d6e0688f57e4f49
diff --git a/lib/omnibar.rb b/lib/omnibar.rb index <HASH>..<HASH> 100644 --- a/lib/omnibar.rb +++ b/lib/omnibar.rb @@ -16,7 +16,7 @@ require_relative 'omnibar/view' module Omnibar extend Dry::Configurable - setting :log, Logger.new('log/omnibar.log'), reader: true + setting :log, Logger.new('log/omnibar.log'), ...
Don't fail when log isn't present
shreve_omnibar
train
d3817688f0b0dd0ef6b7b3467181da1ab657bfda
diff --git a/test/unit/test-promisified/test-exec.js b/test/unit/test-promisified/test-exec.js index <HASH>..<HASH> 100644 --- a/test/unit/test-promisified/test-exec.js +++ b/test/unit/test-promisified/test-exec.js @@ -12,24 +12,12 @@ test.afterEach(() => { mockRequire.stopAll(); }); -function mockChildProcessExe...
fix: fixed promisified exec unit test issue on node <I>.
rpl_flow-coverage-report
train
4be33df43714a5482cb1b795f2900ac0362fdb9a
diff --git a/asciimatics/widgets.py b/asciimatics/widgets.py index <HASH>..<HASH> 100644 --- a/asciimatics/widgets.py +++ b/asciimatics/widgets.py @@ -1081,6 +1081,7 @@ class RadioButtons(Widget): new_event = self._frame.rebase_event(event) if event.buttons != 0: if self.is_mo...
More fine-tuning of the mouse operations on widgets.
peterbrittain_asciimatics
train
5f7ee3a287ffa5cc51aefd55f2e87a0272b3ee80
diff --git a/ConvertDoctrine1SchemaDoctrineCommand.php b/ConvertDoctrine1SchemaDoctrineCommand.php index <HASH>..<HASH> 100644 --- a/ConvertDoctrine1SchemaDoctrineCommand.php +++ b/ConvertDoctrine1SchemaDoctrineCommand.php @@ -108,6 +108,9 @@ EOT } $output->writeln(sprintf(' > writing...
[DoctrineBundle] Make sure directories exist before trying to write files.
saxulum_saxulum-doctrine-orm-commands
train
c0cf0fa2b8faac93b1f25b7de62555236b3c8c42
diff --git a/common/test/java/org/openqa/selenium/TestSuiteBuilder.java b/common/test/java/org/openqa/selenium/TestSuiteBuilder.java index <HASH>..<HASH> 100644 --- a/common/test/java/org/openqa/selenium/TestSuiteBuilder.java +++ b/common/test/java/org/openqa/selenium/TestSuiteBuilder.java @@ -26,9 +26,7 @@ import java...
SimonStewart: Adding the ability to onlyRun more than one test r<I>
SeleniumHQ_selenium
train
b2c7a9c7fcbc3bcbb6b65216f68c0ea0fd165281
diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -325,6 +325,8 @@ class ClassMetadataFactory implements ClassMe...
[DDC-<I>] Throw exception when trying to define inheritance information on a mapped superclass. It is not a valid use-case.
doctrine_orm
train
d5f7e74c3e5419f69d16a5bc9209a88f86eb0768
diff --git a/behat/features/capabilities/group/group-create-open.feature b/behat/features/capabilities/group/group-create-open.feature index <HASH>..<HASH> 100644 --- a/behat/features/capabilities/group/group-create-open.feature +++ b/behat/features/capabilities/group/group-create-open.feature @@ -41,7 +41,7 @@ Feature...
DS-<I> by ribel: Show "Add a group" block only on current user Groups page
goalgorilla_open_social
train
a93f7092b1a48a0835b4cabd1cd271897be90977
diff --git a/src/ZfcUser/Authentication/Adapter/AdapterChain.php b/src/ZfcUser/Authentication/Adapter/AdapterChain.php index <HASH>..<HASH> 100644 --- a/src/ZfcUser/Authentication/Adapter/AdapterChain.php +++ b/src/ZfcUser/Authentication/Adapter/AdapterChain.php @@ -7,7 +7,8 @@ use Zend\Authentication\Adapter\AdapterIn...
Fixed issue with event manager being injected via DI
ZF-Commons_ZfcUser
train
cb5803b2c2ba38991e5b183282b86bd79c521c4f
diff --git a/ng-swagger-gen.js b/ng-swagger-gen.js index <HASH>..<HASH> 100644 --- a/ng-swagger-gen.js +++ b/ng-swagger-gen.js @@ -149,6 +149,19 @@ function doGenerate(swagger, options) { } }); + // read the fallback templates + var fallbackTemplates = path.join(__dirname, 'templates'); + fs.readdirSync(fa...
feat: load built-ins templates as fall back from missing templates resolve: #<I>
cyclosproject_ng-swagger-gen
train
5b49fe83af26a75ec95b960da36632511203383b
diff --git a/sprd/entity/DepartmentCategory.js b/sprd/entity/DepartmentCategory.js index <HASH>..<HASH> 100644 --- a/sprd/entity/DepartmentCategory.js +++ b/sprd/entity/DepartmentCategory.js @@ -2,7 +2,17 @@ define(["js/data/Entity","sprd/model/ProductType"], function (Entity, ProductTyp var DepartmentCategory; ...
added containsProductType to Department and Category
spreadshirt_rAppid.js-sprd
train
acfb83271fdc8ac0b3b6290defa78b5deae803ab
diff --git a/slap/esri.py b/slap/esri.py index <HASH>..<HASH> 100644 --- a/slap/esri.py +++ b/slap/esri.py @@ -38,6 +38,14 @@ class ArcpyHelper: self.register_data_source(data_source) @staticmethod + def list_data_sources(mxd_paths): + data_sources = set() + for mxd_path in mxd_...
Adds method to get sources for mutliple mxds
lobsteropteryx_slap
train
99ae8060fa1150910abd9c693ebf45abe74a9a22
diff --git a/packages/node_modules/@webex/internal-plugin-wdm/src/device/device.js b/packages/node_modules/@webex/internal-plugin-wdm/src/device/device.js index <HASH>..<HASH> 100644 --- a/packages/node_modules/@webex/internal-plugin-wdm/src/device/device.js +++ b/packages/node_modules/@webex/internal-plugin-wdm/src/de...
fix: add tests for device headers
webex_spark-js-sdk
train
c500e8c3de4975a84581ded620f4ed558b7cf454
diff --git a/src/builders/DeleteBuilder.php b/src/builders/DeleteBuilder.php index <HASH>..<HASH> 100644 --- a/src/builders/DeleteBuilder.php +++ b/src/builders/DeleteBuilder.php @@ -52,9 +52,9 @@ require_once dirname(__FILE__) . '/Builder.php'; class DeleteBuilder implements Builder { public function build(arr...
CHG: because the DeleteStatementBuilder returns always the table names of the FROM clause, the DeleteBuilder handles now thestatement options like LOW_PRIORITY or QUICK only. It corrects the output of the builder and fixes issue <I>. FIX: issue <I> git-svn-id: <URL>
greenlion_PHP-SQL-Parser
train
a6c7641dab2107a536053a7b3fbccdc9958b49ac
diff --git a/spec/statistics_spec.rb b/spec/statistics_spec.rb index <HASH>..<HASH> 100644 --- a/spec/statistics_spec.rb +++ b/spec/statistics_spec.rb @@ -9,4 +9,19 @@ describe Workerholic::Statistics do expect(statistics.started_at).to be_nil expect(statistics.completed_at).to be_nil end + + it 'initiali...
Add spec for to_hash method
workerholic_workerholic
train
cb3dcd788fb1140b70b3743f8b5ed2de8926dbb9
diff --git a/mod/feedback/lib.php b/mod/feedback/lib.php index <HASH>..<HASH> 100644 --- a/mod/feedback/lib.php +++ b/mod/feedback/lib.php @@ -59,6 +59,7 @@ function feedback_supports($feature) { case FEATURE_COMPLETION_TRACKS_VIEWS: return true; case FEATURE_GRADE_HAS_GRADE: return false; ...
MDL-<I> - implement new moodle2 backup
moodle_moodle
train
5e7b36f50d3fece235c1334006d72261e27b825e
diff --git a/addon/components/ember-dragula.js b/addon/components/ember-dragula.js index <HASH>..<HASH> 100644 --- a/addon/components/ember-dragula.js +++ b/addon/components/ember-dragula.js @@ -28,9 +28,10 @@ export default Component.extend({ if (!this.get('config.enabledEvents')) { return; ...
Expose drake instance in event action handlers
kalcifer_ember-dragula
train
8fda832b80177432ef15021fe164de8ec438bd20
diff --git a/src/main/java/strman/Strman.java b/src/main/java/strman/Strman.java index <HASH>..<HASH> 100644 --- a/src/main/java/strman/Strman.java +++ b/src/main/java/strman/Strman.java @@ -1,6 +1,7 @@ package strman; import java.util.Arrays; +import java.util.Base64; import java.util.Optional; import java.util....
Added support for `base<I>Decode`
shekhargulati_strman-java
train
3028cffacb2c3ac5639ccba8fec42d7c4e14e6d9
diff --git a/src/uki-core/background/sliced9.js b/src/uki-core/background/sliced9.js index <HASH>..<HASH> 100644 --- a/src/uki-core/background/sliced9.js +++ b/src/uki-core/background/sliced9.js @@ -141,7 +141,7 @@ uki.background.Sliced9 = uki.newClass(new function() { if (!uki.supportNativeLayout) {...
layoutHandler recreation forces bugs in opera
voloko_uki
train
331c98e3bea438913aaa425c2c28cac45c659b51
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -50,7 +50,7 @@ class VueModalDialog { return reject(new Error(`Modal dialog ${name} is not found.`)) } - return this.modalWrapper.add(this.modalFunctions[name], ...args) + resolve(th...
fix: promise from 'show' never resolves
hjkcai_vue-modal-dialogs
train
be554c898b679aaad66acf036854af4d7c97c58e
diff --git a/salt/states/win_wua.py b/salt/states/win_wua.py index <HASH>..<HASH> 100644 --- a/salt/states/win_wua.py +++ b/salt/states/win_wua.py @@ -335,14 +335,14 @@ def removed(name, updates=None): return ret -def up_to_date(name, - software=True, - drivers=False, - ...
Rename new state to `uptodate`
saltstack_salt
train
1f2a98351deb540ef35f9087aa7ec7981cecbb8d
diff --git a/auth/controllers/Register.php b/auth/controllers/Register.php index <HASH>..<HASH> 100644 --- a/auth/controllers/Register.php +++ b/auth/controllers/Register.php @@ -23,7 +23,6 @@ class Register extends Base parent::__construct(); // -----------------------------------------------------...
Upgrade the views finder to be compatible with the new controllers naming
nails_module-auth
train
4ccfbd33cbaac53bc3af178190023cc6344aa9b6
diff --git a/decoder_test.go b/decoder_test.go index <HASH>..<HASH> 100644 --- a/decoder_test.go +++ b/decoder_test.go @@ -140,6 +140,23 @@ func Test_unmarshalEmptyValueTag(t *testing.T) { } } +const structEmptyXML = ` +<value> + <struct> + </struct> +</value> +` + +func Test_unmarshalEmptyStruct(t *testing.T) {...
add failing test for nil-struct
kolo_xmlrpc
train
1366a7fab805e1fd3acb27dadbbf74d79c86aa9b
diff --git a/user/index.php b/user/index.php index <HASH>..<HASH> 100644 --- a/user/index.php +++ b/user/index.php @@ -682,8 +682,8 @@ $row->cells[2]->text .= implode('', $links); - if (!empty($messageselect)) { - $row->cells[2]->text .= '<br /><input t...
MDL-<I> Users: Participants list with user_details now show check box for bluk operation
moodle_moodle
train
96e6cd1d243ab5de9237ed62b1a2154157b0265d
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,14 +16,42 @@ module.exports = function(grunt) { reporter: 'spec', ui: 'tdd' } + }, + 'mocha_istanbul': { + coveralls: { + ...
Update grunt file to support coverage reports
xmpp-ftw_xmpp-ftw-avatar
train
bcd8db2a344f279ce80700901249aa858c0de79e
diff --git a/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php b/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php +++ b/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.p...
[DependencyInjection] Normalize exceptions
symfony_symfony
train
c29e92522fdb5f5ff61572c2e962bde5a8ba632e
diff --git a/synapse/cores/ram.py b/synapse/cores/ram.py index <HASH>..<HASH> 100644 --- a/synapse/cores/ram.py +++ b/synapse/cores/ram.py @@ -20,12 +20,7 @@ class Cortex(common.Cortex): self.initRowsBy('range',self._rowsByRange) def _sizeByRange(self, prop, valu, limit=None): - # HACK: for speed...
ram cortex: sum using a generator of 1 numbers might be faster cause there's not a list being appended to.
vertexproject_synapse
train
9a6c301fc794535c29d932dbb42ad92ee58a0abe
diff --git a/ncpol2sdpa/sdprelaxation.py b/ncpol2sdpa/sdprelaxation.py index <HASH>..<HASH> 100644 --- a/ncpol2sdpa/sdprelaxation.py +++ b/ncpol2sdpa/sdprelaxation.py @@ -164,17 +164,19 @@ class SdpRelaxation(object): return facvar def __process_monomial(self, monomial, row, column, monomial_block_index...
Faster dictionary lookup with exceptions in Pypy
peterwittek_ncpol2sdpa
train
9296f0db03a6203a8e68875d73bca243d49b2998
diff --git a/shutit_global.py b/shutit_global.py index <HASH>..<HASH> 100644 --- a/shutit_global.py +++ b/shutit_global.py @@ -262,6 +262,7 @@ class ShutIt(object): @param echo: See send() @param note: See send() """ + assert type(send_dict) == dict shutit_pexpect_child = sh...
Add checkwinsize to avoid obscure shells that do not have it...
ianmiell_shutit
train
f3926fa7169854f53b32bb57a0876ed7864bed7a
diff --git a/lib/conceptql/behaviors/metadatable.rb b/lib/conceptql/behaviors/metadatable.rb index <HASH>..<HASH> 100644 --- a/lib/conceptql/behaviors/metadatable.rb +++ b/lib/conceptql/behaviors/metadatable.rb @@ -156,7 +156,7 @@ module ConceptQL def deprecated(opts = {}) @deprecated = true message ...
Add spaces around 'or' for replaced_by warning
outcomesinsights_conceptql
train
5448624d283162f07c200b4526e742d7b3e11537
diff --git a/src/Controller.php b/src/Controller.php index <HASH>..<HASH> 100644 --- a/src/Controller.php +++ b/src/Controller.php @@ -5,6 +5,7 @@ namespace duncan3dc\Sonos; use duncan3dc\DomParser\XmlParser; use duncan3dc\Sonos\Exceptions\SoapException; use duncan3dc\Sonos\Tracks\Stream; +use duncan3dc\Sonos\Tracks...
Add a convenience method to interrupt the controller with 1 track
duncan3dc_sonos
train
46ea8ff75d03999e08f77f526e93d8489eb0fabd
diff --git a/daemon/logger/awslogs/cloudwatchlogs.go b/daemon/logger/awslogs/cloudwatchlogs.go index <HASH>..<HASH> 100644 --- a/daemon/logger/awslogs/cloudwatchlogs.go +++ b/daemon/logger/awslogs/cloudwatchlogs.go @@ -14,9 +14,9 @@ import ( "github.com/Sirupsen/logrus" "github.com/aws/aws-sdk-go/aws" "github.com...
Fix build errors caused by update aws-sdk-go to <I> This fix tries to fix build errors caused by updating aws-sdk-go to <I>. This fix fixes #<I>.
containers_storage
train
fe7eb27c388f87a848dbe9d9e4061663c3ee5614
diff --git a/indra/preassembler/__init__.py b/indra/preassembler/__init__.py index <HASH>..<HASH> 100644 --- a/indra/preassembler/__init__.py +++ b/indra/preassembler/__init__.py @@ -154,7 +154,7 @@ class Preassembler(object): duplicates = list(duplicates) start_ev_keys = _ev_keys(duplicates) ...
Properly implement get grounding for concepts
sorgerlab_indra
train
4a28c8bc33ce70be2a4d138a4905e44cc50bfaec
diff --git a/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js b/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js +++ b/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js @@ -3394,7 +3394,7 @@ sap.ui.define([ ...
[INTERNAL] Messaging: Make Messagescope consumable Introduce additional setter - for enabling MessageScope - for enabling canonical request calculation Change-Id: If3bf<I>c7b<I>d<I>d6cfc1effad<I>c0
SAP_openui5
train
a11554783202b0d736e32094e9648da1cf1791c4
diff --git a/unrar/rarfile.py b/unrar/rarfile.py index <HASH>..<HASH> 100644 --- a/unrar/rarfile.py +++ b/unrar/rarfile.py @@ -132,11 +132,19 @@ class RarFile(object): def _read_header(self, handle): """Read current member header into a RarInfo object.""" - rarinfo = None header_data = u...
Modified how some calls to unrarlib are handled, mainly adding more exception handling. In certain places RuntimError is raised which is similar to how zipfile handles certain situations. Inability to extract password protected files, for example, raises a RuntimeError in zipfile.
matiasb_python-unrar
train
d50ec1f2afaad2d1b38f98f1f41241e8162943d5
diff --git a/python_modules/dagster/dagster/core/storage/schedules/sqlite/sqlite_schedule_storage.py b/python_modules/dagster/dagster/core/storage/schedules/sqlite/sqlite_schedule_storage.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/storage/schedules/sqlite/sqlite_schedule_storage.py +++ b/p...
switch to pass connection instead of engine to check_alembic_revision Test Plan: ran dagit, saw warning go away Reviewers: sashank, max Reviewed By: max Differential Revision: <URL>
dagster-io_dagster
train
03a4909012c8509b7a00d3483f0b8801a7ee22f9
diff --git a/lib/DataFrame.js b/lib/DataFrame.js index <HASH>..<HASH> 100644 --- a/lib/DataFrame.js +++ b/lib/DataFrame.js @@ -140,10 +140,10 @@ class DataFrame { */ join(right /*: DataFrame */, col=null /*: Column|String */, joinType="inner" /*: String*/) /*: DataFrame */ { if (col === null) { - ...
Fix some DataFrame methods Fix a few places where underlying jvm methods were being called with the javascript DataFrame object rather than the handle to the underlying jvm object. Fixes #<I>.
henridf_apache-spark-node
train
a03682ae3ef3c203bbeca136005fdaec5c2c36e0
diff --git a/src/mistclient/model.py b/src/mistclient/model.py index <HASH>..<HASH> 100644 --- a/src/mistclient/model.py +++ b/src/mistclient/model.py @@ -348,7 +348,6 @@ class Cloud(object): print if job.get('finished_at', 0): - print '**********************' ...
Get machine_id more defensively
mistio_mist.client
train
dba71d6d9a93f03b55b3f42d94aeea8b79251ffd
diff --git a/cartoframes/data/services/bq_datasets.py b/cartoframes/data/services/bq_datasets.py index <HASH>..<HASH> 100644 --- a/cartoframes/data/services/bq_datasets.py +++ b/cartoframes/data/services/bq_datasets.py @@ -226,6 +226,7 @@ class BQUserEnrichmentJob: status = self.status() while statu...
Missing sleep while pooling for status
CartoDB_cartoframes
train
529cb5cab1903b00800afc85aa42cf25c124373c
diff --git a/superset/assets/src/visualizations/Calendar/Calendar.js b/superset/assets/src/visualizations/Calendar/Calendar.js index <HASH>..<HASH> 100644 --- a/superset/assets/src/visualizations/Calendar/Calendar.js +++ b/superset/assets/src/visualizations/Calendar/Calendar.js @@ -95,7 +95,7 @@ function Calendar(eleme...
fix Calendar Heatmap (#<I>) * fix D3 <I>, selections are not arrays anymore * added vale checking * fixed linting * cleanup
apache_incubator-superset
train
825fb57c5559a37d378d45527458d2115130ca5d
diff --git a/storage/redis.go b/storage/redis.go index <HASH>..<HASH> 100644 --- a/storage/redis.go +++ b/storage/redis.go @@ -29,7 +29,7 @@ func (s *redisStorage) Retrieve(container string) (string, error) { if err != nil { return "", err } - return result.(string), nil + return string(result.([]byte)), nil } ...
storage: fix code Redis will return a slice of bytes, not a string.
tsuru_docker-cluster
train
96934edf51d9a63d66ad151404393f17722e532a
diff --git a/art/art.py b/art/art.py index <HASH>..<HASH> 100644 --- a/art/art.py +++ b/art/art.py @@ -403,11 +403,11 @@ def set_default(font=DEFAULT_FONT, chr_ignore=True, filename="art", if isinstance(font, str) is False: raise artError(FONT_TYPE_ERROR) if isinstance(chr_ignore, bool) is False: - ...
fix : type errors moved to art_param #<I>
sepandhaghighi_art
train
b8ce6794de1b2d43b0b572c0fa6c5310821aeae4
diff --git a/helpers/postgresql.py b/helpers/postgresql.py index <HASH>..<HASH> 100644 --- a/helpers/postgresql.py +++ b/helpers/postgresql.py @@ -88,7 +88,7 @@ class Postgresql: return not os.path.exists(self.data_dir) or os.listdir(self.data_dir) == [] def initialize(self): - if os.system(self....
Initialize cluster with encoding=UTF8 by default.
zalando_patroni
train