hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
8a1474d3332c925e827580bd8f933e96b6dd6e12
diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -93,9 +93,10 @@ class Configuration implements ConfigurationInterface ->defaultValue(...
Do not force what columns should be available
netgen-layouts_content-browser
train
php
8a72d8694df0269b573b3df60af43535f960929f
diff --git a/lib/path.js b/lib/path.js index <HASH>..<HASH> 100644 --- a/lib/path.js +++ b/lib/path.js @@ -32,3 +32,4 @@ module.exports.artifact = artifact; module.exports.bin = bin; module.exports.current = current; module.exports.resolve = path.resolve; +module.exports.join = path.join;
:bug: need to get rid of this stdlib path override crap...
mongodb-js_version-manager
train
js
b62693ca6749d6802a26836cc4911453f5b65d47
diff --git a/examples/hyperopt/hyperopt_adaptive.py b/examples/hyperopt/hyperopt_adaptive.py index <HASH>..<HASH> 100644 --- a/examples/hyperopt/hyperopt_adaptive.py +++ b/examples/hyperopt/hyperopt_adaptive.py @@ -115,7 +115,7 @@ if __name__ == "__main__": new_hyperparameters = previous_info["hyperparameters"] ...
Fix Python 2 bug in hyperopt example. (#<I>)
ray-project_ray
train
py
e69952964af1735104e91f6b13e6680af0c9b2a7
diff --git a/src/engine/currencyEngine.js b/src/engine/currencyEngine.js index <HASH>..<HASH> 100644 --- a/src/engine/currencyEngine.js +++ b/src/engine/currencyEngine.js @@ -120,6 +120,13 @@ export class CurrencyEngine { await this.engineState.load() + const cachedTXs = await this.getTransactions() + th...
call callbacks immediatly when makeing engine
EdgeApp_edge-currency-bitcoin
train
js
a173a33ad632564a69f15cef6db04af64fe7a94c
diff --git a/src/main/java/org/jbake/parser/MarkupEngine.java b/src/main/java/org/jbake/parser/MarkupEngine.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jbake/parser/MarkupEngine.java +++ b/src/main/java/org/jbake/parser/MarkupEngine.java @@ -91,6 +91,10 @@ public abstract class MarkupEngine implements Pars...
Merged #<I> manually due to change in project structure.
jbake-org_jbake
train
java
0edab8c54400a55afb230103d40405a2f5f3ca48
diff --git a/raw.js b/raw.js index <HASH>..<HASH> 100644 --- a/raw.js +++ b/raw.js @@ -14,8 +14,7 @@ function rawCreateElement (tag) { } function server () { - // eslint-disable-next-line - var wrapper = new String(tag) + var wrapper = new String(tag) // eslint-disable-line no-new-wrappers wrapper...
Explicitly disable offending rule
choojs_nanohtml
train
js
cb931e9013f298aa921e1db05cfccbc90c113501
diff --git a/src/org/jgroups/stack/ProtocolStack.java b/src/org/jgroups/stack/ProtocolStack.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/stack/ProtocolStack.java +++ b/src/org/jgroups/stack/ProtocolStack.java @@ -1,4 +1,4 @@ -// $Id: ProtocolStack.java,v 1.18 2005/04/26 20:08:40 belaban Exp $ +// $Id: Protoco...
set suspend time for TimeScheduler to <I>secs
belaban_JGroups
train
java
1e2e3167e9b38aea47dd6721f49cbfe80b48a664
diff --git a/structr-ui/src/test/java/org/structr/test/web/advanced/PerformanceTest.java b/structr-ui/src/test/java/org/structr/test/web/advanced/PerformanceTest.java index <HASH>..<HASH> 100644 --- a/structr-ui/src/test/java/org/structr/test/web/advanced/PerformanceTest.java +++ b/structr-ui/src/test/java/org/structr/...
Trying to fix performance test by lowering performance expectations.
structr_structr
train
java
29046db6ff1536983de932b467a6d62b7bb3fd15
diff --git a/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go b/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go index <HASH>..<HASH> 100644 --- a/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go +++ b/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go @@ -125,9 +125,6 @@ func Run(g *Generator) { protobufNames := NewProtobufNa...
Name check for go-to-protobuf in wrong spot
kubernetes_kubernetes
train
go
f49f9d88a48cec9b258ea3f9232dcd8f9878dc73
diff --git a/orianna/src/main/java/com/merakianalytics/orianna/types/core/match/Match.java b/orianna/src/main/java/com/merakianalytics/orianna/types/core/match/Match.java index <HASH>..<HASH> 100644 --- a/orianna/src/main/java/com/merakianalytics/orianna/types/core/match/Match.java +++ b/orianna/src/main/java/com/merak...
Fix doubled participant for Matches from MatchReferences
meraki-analytics_orianna
train
java
fc448698509d78e8e48e4907146fc6ef599990f6
diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index <HASH>..<HASH> 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1581,13 +1581,15 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid 'SiteTree', array( 'Title' => 'Title', + 'Ab...
MINOR added direct links to items in the backlinks report (from r<I>) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/<I>@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9
silverstripe_silverstripe-framework
train
php
f992eddd5803d96059d685c5fa2865d44091da0b
diff --git a/src/Statistics/Regression/LeastSquares.php b/src/Statistics/Regression/LeastSquares.php index <HASH>..<HASH> 100644 --- a/src/Statistics/Regression/LeastSquares.php +++ b/src/Statistics/Regression/LeastSquares.php @@ -3,7 +3,7 @@ namespace Math\Statistics\Regression; use Math\Statistics\{Average, RandomVa...
Update LeastSquares.php
markrogoyski_math-php
train
php
b8084905d3fd681087062ee9576efc9094591ed5
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( include_package_data=True, # Package dependencies. - install_requires=['simplejson', 'requests>=0.14.0'], + install_requires=['simplejson', 'requests==0.14.0'], # Metadata for PyP...
requests==<I> requirement Requests needs to be on <I>, otherwise calls with params and files will not work.
ryanmcgrath_twython
train
py
4aacbced7fbab0fb0448db6d820c14cc5fe15b06
diff --git a/models/AuthItem.php b/models/AuthItem.php index <HASH>..<HASH> 100644 --- a/models/AuthItem.php +++ b/models/AuthItem.php @@ -168,7 +168,7 @@ abstract class AuthItem extends Model $this->item->name = $this->name; $this->item->description = $this->description; $this->item->...
Fixed creation of auth items when rule is not set (fix #<I>)
dektrium_yii2-rbac
train
php
7628ab6e554d45693004c7aeb6b4c5432b0c2d39
diff --git a/lib/transactions.js b/lib/transactions.js index <HASH>..<HASH> 100644 --- a/lib/transactions.js +++ b/lib/transactions.js @@ -49,6 +49,22 @@ Transaction.prototype.rollback = function(callback) { } } +Transaction.prototype.waitTransaction = function(callback, waitTimeout) { + + var self = this;...
Added waitTransaction() util For database whos using singleton locking to prevent deadlock. Ex. SQLite
coderbuzz_sequelize-transactions
train
js
b99b421acb0f5eb2540d8971bcfdc57371076d85
diff --git a/shap/explainers/_explainer.py b/shap/explainers/_explainer.py index <HASH>..<HASH> 100644 --- a/shap/explainers/_explainer.py +++ b/shap/explainers/_explainer.py @@ -234,8 +234,13 @@ class Explainer(): if callable(getattr(self.masker, "feature_names", None)): row...
Added support in _explainer.py when feature_names callable in a masker returns None to set it back to default value
slundberg_shap
train
py
86cf83d71dfa3110c4f1db50a6cccbcd6df4e671
diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java b/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java +++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java @@ -378,6 +378,7 @@ publi...
Trivial refactoring: extract constant
apache_groovy
train
java
bdd70c0211254c8743d273e87dc645aebbf9b9ed
diff --git a/src/Connection/Connection.php b/src/Connection/Connection.php index <HASH>..<HASH> 100644 --- a/src/Connection/Connection.php +++ b/src/Connection/Connection.php @@ -4,8 +4,31 @@ namespace Tarantool\Client\Connection; interface Connection { + /** + * Opens a new connection. + * + * @retu...
Add PHPDocs to the Connection interface
tarantool-php_client
train
php
27915d51d2983c9f1769eea33e1ba9fe5b5eb5e7
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py index <HASH>..<HASH> 100644 --- a/holoviews/core/dimension.py +++ b/holoviews/core/dimension.py @@ -1087,7 +1087,16 @@ class Dimensioned(LabelledData): then returned. Note that if no options are supplied at all, all ids are reset. ...
Added preliminary opts spec syntax support to __call__
pyviz_holoviews
train
py
84227e2ac74db09307d8d6b7f261bcf3ac86549b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -350,7 +350,7 @@ function browserslist (queries, opts) { } } - var result = resolve(queries, context).sort(function (name1, name2) { + return uniq(resolve(queries, context)).sort(function (name1, name2) { name...
Sort after removing dublicates
browserslist_browserslist
train
js
1dd72a784b0953971838f4b89b3f6164f763eb57
diff --git a/src/main/ruby/delayed/sync_lifecycle.rb b/src/main/ruby/delayed/sync_lifecycle.rb index <HASH>..<HASH> 100644 --- a/src/main/ruby/delayed/sync_lifecycle.rb +++ b/src/main/ruby/delayed/sync_lifecycle.rb @@ -1,4 +1,4 @@ -require 'monitor' +require 'thread' module Delayed module SyncLifecycle @@ -21,7 +...
a Mutex is enough - no need to use a Monitor
kares_jruby-rack-worker
train
rb
39c06a307fccd7ba304225dac89c3b73f00736a1
diff --git a/src/Renderer.php b/src/Renderer.php index <HASH>..<HASH> 100644 --- a/src/Renderer.php +++ b/src/Renderer.php @@ -28,7 +28,7 @@ class Renderer if (!is_array($data)) { throw new RuntimeException('Data is not an array'); } - + switch ($contentType) { ...
Add text/xml to the list of known content types
akrabat_rka-content-type-renderer
train
php
defc3d61c96e680de0f71696456acf1f6f6002fd
diff --git a/croppie.js b/croppie.js index <HASH>..<HASH> 100755 --- a/croppie.js +++ b/croppie.js @@ -1163,7 +1163,8 @@ var RESULT_DEFAULTS = { type: 'canvas', format: 'png', - quality: 1 + quality: 1, + size: 'viewport' }, RESULT...
Added missing default value for size The documentation says the default value is 'viewport', but actually it is not set at all.
Foliotek_Croppie
train
js
7a8a385c1c80cae18d6e2ea9baff87093b613b23
diff --git a/src/Discord/functions.php b/src/Discord/functions.php index <HASH>..<HASH> 100644 --- a/src/Discord/functions.php +++ b/src/Discord/functions.php @@ -165,3 +165,27 @@ function poly_strlen($str) return strlen($str); } + +/** + * Converts a file to base64 representation. + * + * @param string $filepa...
Helpers: added an image to base<I> function
teamreflex_DiscordPHP
train
php
095b8e0f0c00bec85fbc3bb107c4ab381c35e521
diff --git a/lib/supply/options.rb b/lib/supply/options.rb index <HASH>..<HASH> 100755 --- a/lib/supply/options.rb +++ b/lib/supply/options.rb @@ -31,7 +31,7 @@ module Supply FastlaneCore::ConfigItem.new(key: :key, env_name: "SUPPLY_KEY", ...
Added automatic fetching of values from the Appfile
fastlane_fastlane
train
rb
3167518abca6b974f8270d0952d84c523d446c59
diff --git a/views/js/runner/plugins/tools/magnifier/magnifierPanel.js b/views/js/runner/plugins/tools/magnifier/magnifierPanel.js index <HASH>..<HASH> 100644 --- a/views/js/runner/plugins/tools/magnifier/magnifierPanel.js +++ b/views/js/runner/plugins/tools/magnifier/magnifierPanel.js @@ -21,11 +21,10 @@ define([ ...
Directly use the native MutationObserver without polyfill
oat-sa_extension-tao-testqti
train
js
25bcc1994e0d0910a0ffd07a67eb08522e433853
diff --git a/librosa/core/spectrum.py b/librosa/core/spectrum.py index <HASH>..<HASH> 100644 --- a/librosa/core/spectrum.py +++ b/librosa/core/spectrum.py @@ -1063,6 +1063,7 @@ def harmonics(X, freqs, h_range, kind='slinear', fill_value=0, axis=0): f_interp = scipy.interpolate.interp1d(freqs, X, ...
removed copy in harmonics interpolator
librosa_librosa
train
py
30b42e422a5700f5d85499be1c79fee86d804469
diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py index <HASH>..<HASH> 100644 --- a/sos/plugins/postgresql.py +++ b/sos/plugins/postgresql.py @@ -57,4 +57,9 @@ class postgresql(Plugin, RedHatPlugin): def postproc(self): import shutil - shutil.rmtree(self.tmp_dir) + if self...
Fix exception in postgresql postproc method Do not assume that tmp_dir has been set and wrap tree deletion in a try block.
sosreport_sos
train
py
dc0030b917e50eb227327b0e103e771b65a6ad0d
diff --git a/lib/rules/rules.js b/lib/rules/rules.js index <HASH>..<HASH> 100644 --- a/lib/rules/rules.js +++ b/lib/rules/rules.js @@ -1048,7 +1048,7 @@ function resolveFilterPattern(matcher) { return { not: not, isInclude: isInclude, - filter: '^[a-z]+://[^/?]+/' + path + filter: '^[a-z]+:...
fix: filter ***/path/to
avwo_whistle
train
js
5708083bc591edec42170e1b36ade78c05bc20a5
diff --git a/src/main/java/me/qmx/jitescript/JiteClass.java b/src/main/java/me/qmx/jitescript/JiteClass.java index <HASH>..<HASH> 100644 --- a/src/main/java/me/qmx/jitescript/JiteClass.java +++ b/src/main/java/me/qmx/jitescript/JiteClass.java @@ -42,6 +42,7 @@ public class JiteClass implements Opcodes { private fi...
Allowing access flags to be set on classes (but always ACC_SUPER)
qmx_jitescript
train
java
ab502f32a7f9f2ef1e6592b783ba9955c61154f9
diff --git a/pkg/kubelet/dockershim/docker_container.go b/pkg/kubelet/dockershim/docker_container.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/dockershim/docker_container.go +++ b/pkg/kubelet/dockershim/docker_container.go @@ -227,7 +227,8 @@ func (ds *dockerService) ContainerStatus(containerID string) (*runtimeApi...
Fix mount issue in dockershim.
kubernetes_kubernetes
train
go
d8159d63ec5828d48585b1be8619806bbf68a562
diff --git a/src/sos/task_engines.py b/src/sos/task_engines.py index <HASH>..<HASH> 100644 --- a/src/sos/task_engines.py +++ b/src/sos/task_engines.py @@ -228,7 +228,7 @@ class TaskEngine(threading.Thread): if self.pending_tasks: # check active (non-terminal) status, including those are ...
Treating new status as terminal for submitting new tasks
vatlab_SoS
train
py
c104b1ff728aa58f41316b31b4a042b3c11f6b10
diff --git a/lib/framework/rho/rhoviewhelpers.rb b/lib/framework/rho/rhoviewhelpers.rb index <HASH>..<HASH> 100644 --- a/lib/framework/rho/rhoviewhelpers.rb +++ b/lib/framework/rho/rhoviewhelpers.rb @@ -100,7 +100,12 @@ module Rho model = params[:controller] || params[:model] || @request['model'] action ...
[#<I>] - going back after choosing date causes jvm error
rhomobile_rhodes
train
rb
28cb6d06fff0d833265f00e6b4800cb3e4672ef0
diff --git a/Controller/ExportController.php b/Controller/ExportController.php index <HASH>..<HASH> 100644 --- a/Controller/ExportController.php +++ b/Controller/ExportController.php @@ -113,7 +113,8 @@ class ExportController extends CommonController $fields ...
Fix Prod bug where no IP addresses exist for a lead
TheDMSGroup_mautic-campaign-watch
train
php
f89ef12eb600bb7620e64216383fcba8d77f5736
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -115,7 +115,6 @@ module Rails class Path include Enumerable - attr_reader :path attr_accessor :glob def initialize(...
Remove unneeded attr_reader
rails_rails
train
rb
9adabe19d92e7217c26d691458a415792a1f179e
diff --git a/lib/lyber_core/robot.rb b/lib/lyber_core/robot.rb index <HASH>..<HASH> 100644 --- a/lib/lyber_core/robot.rb +++ b/lib/lyber_core/robot.rb @@ -40,16 +40,15 @@ module LyberCore queue = @workflow.queue(@workflow_step) # If we have arguments, parse out the parts that indicate druids - ...
Use @options to check for explicitly specified druids to process, dont' just check ARGV
sul-dlss_lyber-core
train
rb
d41e97c5908a6b1a6be5201edcf937148815f7db
diff --git a/Kwf/Component/Cache/Mysql.php b/Kwf/Component/Cache/Mysql.php index <HASH>..<HASH> 100644 --- a/Kwf/Component/Cache/Mysql.php +++ b/Kwf/Component/Cache/Mysql.php @@ -93,10 +93,13 @@ class Kwf_Component_Cache_Mysql extends Kwf_Component_Cache $model = $this->getModel(); $log = Kwf_Componen...
only fetch needed columns, improves performance (esp. memory usage)
koala-framework_koala-framework
train
php
b7b692a02bda22e9be0a51d9ae599cc18b656598
diff --git a/app/middleware/state/flow.js b/app/middleware/state/flow.js index <HASH>..<HASH> 100644 --- a/app/middleware/state/flow.js +++ b/app/middleware/state/flow.js @@ -6,7 +6,7 @@ exports = module.exports = function(dispatcher) { }; // TODO: rename this to ceremony -exports['@implements'] = 'http://i.bixbyjs...
Rename state/flow middleware interface to ceremony.
bixbyjs_bixby-express
train
js
163389fcc304775403a54b993923ebc0e52315cc
diff --git a/app/models/MiseoGroupLocal.php b/app/models/MiseoGroupLocal.php index <HASH>..<HASH> 100644 --- a/app/models/MiseoGroupLocal.php +++ b/app/models/MiseoGroupLocal.php @@ -7,9 +7,11 @@ namespace app\models; use common\models\MiseoGroupLocal as CMiseoGroupLocal; class MiseoGroupLocal extends CMiseoGroupLo...
added databasedata,groupzone to blank.
prawee_yii2-grid
train
php
88127af9cec215e256a7245b5a92ea0ea762fd2b
diff --git a/mozu-java-core/src/main/java/com/mozu/api/ApiError.java b/mozu-java-core/src/main/java/com/mozu/api/ApiError.java index <HASH>..<HASH> 100644 --- a/mozu-java-core/src/main/java/com/mozu/api/ApiError.java +++ b/mozu-java-core/src/main/java/com/mozu/api/ApiError.java @@ -9,7 +9,7 @@ public class ApiError { ...
Uncommented additionalErrorData field in ApiError.java
Mozu_mozu-java
train
java
cf3c9aa5ec833c50dde52e0edbcc05424674051a
diff --git a/nipap-www/nipapwww/controllers/prefix.py b/nipap-www/nipapwww/controllers/prefix.py index <HASH>..<HASH> 100644 --- a/nipap-www/nipapwww/controllers/prefix.py +++ b/nipap-www/nipapwww/controllers/prefix.py @@ -35,11 +35,11 @@ class PrefixController(BaseController): """ Add a prefix. """ ...
Actually pre-fill prefix in /prefix/add The previous code didn't create a Prefix object and instead passed a string to the template that expected a Prefix object.
SpriteLink_NIPAP
train
py
fdf4e9b7370f6c0d001cc533009f2a79d8821d63
diff --git a/zipline/algorithm.py b/zipline/algorithm.py index <HASH>..<HASH> 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -809,16 +809,18 @@ class TradingAlgorithm(object): @api_method def get_datetime(self, tz=None): """ - Returns a copy of the datetime. + Returns t...
PERF: Makes get_datetime not make a copy. datetime.datetime objects are immutable.
quantopian_zipline
train
py
724bd1808cf688c3ba2e97c0394509b406bbfc1d
diff --git a/src/Phug/Renderer/Profiler/ProfilerModule.php b/src/Phug/Renderer/Profiler/ProfilerModule.php index <HASH>..<HASH> 100644 --- a/src/Phug/Renderer/Profiler/ProfilerModule.php +++ b/src/Phug/Renderer/Profiler/ProfilerModule.php @@ -271,7 +271,7 @@ class ProfilerModule extends AbstractModule if ($for...
Use absolute class path to avoid bad resolve in namespace
phug-php_renderer
train
php
c6dcc39047ed0a5d07e955d025389262d9751b41
diff --git a/lib/spatial_features/has_spatial_features.rb b/lib/spatial_features/has_spatial_features.rb index <HASH>..<HASH> 100644 --- a/lib/spatial_features/has_spatial_features.rb +++ b/lib/spatial_features/has_spatial_features.rb @@ -24,8 +24,8 @@ module SpatialFeatures # NOTE: features are never updated, onl...
Speed up cache key calculation. Do two separate queries because it is much faster for some reason.
culturecode_spatial_features
train
rb,rb
38b03f56b4e7f7bf12b2f126af352bee6469445c
diff --git a/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java b/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java index <HASH>..<HASH> 100644 --- a/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java +++ b/indexing-service/src/main/java/io/dru...
IndexTask: Raise default maxTotalRows. (#<I>) <I>k is very low, given that it should only be limited by disk space rather than JVM heap.
apache_incubator-druid
train
java
58906d520b310fb92e57fe38d040e276d5929ee4
diff --git a/src/adapt/viewer.js b/src/adapt/viewer.js index <HASH>..<HASH> 100644 --- a/src/adapt/viewer.js +++ b/src/adapt/viewer.js @@ -615,7 +615,7 @@ adapt.viewer.Viewer.prototype.sizeIsGood = function() { * @param {number} pageIndex */ adapt.viewer.Viewer.prototype.setPageSize = function(pageSize, pageSheetS...
page size should be added to pageSizes by index. setPageSize() can be called multiple times for a same page.
vivliostyle_vivliostyle.js
train
js
aacffbb161134442d6981714d3db0d59ea57bf4c
diff --git a/openquake/job/__init__.py b/openquake/job/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/job/__init__.py +++ b/openquake/job/__init__.py @@ -310,6 +310,29 @@ class Job(object): job.config_file = config_file # pylint: disable=W0201 return job + @staticmethod + def get_sta...
implemented Job.get_db_status() and Job.is_job_completed() as static methods in openquake.job.Job Former-commit-id: 8c<I>c<I>a2d<I>fc<I>b6f<I>e<I>
gem_oq-engine
train
py
62dceccf52b3a63d0aabdcd82de3c699c6e29e88
diff --git a/lib/record_blueprint.py b/lib/record_blueprint.py index <HASH>..<HASH> 100644 --- a/lib/record_blueprint.py +++ b/lib/record_blueprint.py @@ -70,6 +70,7 @@ def request_record(f): cookie = mail_cookie_create_authorize_action(VIEWRESTRCOLL, { 'collection': guess_primary_collecti...
WebComment: code style improvements * Connects signal record after update with BibField. * Improves blueprint and fixes regression tests. * FIXME access to comments in restricted collection
inveniosoftware_invenio-records
train
py
25d183f928275899dd7c765990a2fb055c5f65e0
diff --git a/tests/Models/Article.php b/tests/Models/Article.php index <HASH>..<HASH> 100644 --- a/tests/Models/Article.php +++ b/tests/Models/Article.php @@ -22,4 +22,21 @@ class Article extends Model implements Auditable { use \OwenIt\Auditing\Auditable; use SoftDeletes; + + /** + * {@inheritdoc} + ...
feat(Tests): add boolean cast and mutator to Article model
owen-it_laravel-auditing
train
php
b960b5e780ee291d11e4d809defb075e0e7e43b4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from __future__ import print_function MAJOR = 0 MINOR = 0 -MICRO = 1 +MICRO = 2 ISRELEASED = True VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
Version bump for pypi dist.
PX4_pyulog
train
py
abb6224e006eee4f673d1d609ff6da17c313efd1
diff --git a/lib/locabulary/administrative_unit_sorter.rb b/lib/locabulary/administrative_unit_sorter.rb index <HASH>..<HASH> 100644 --- a/lib/locabulary/administrative_unit_sorter.rb +++ b/lib/locabulary/administrative_unit_sorter.rb @@ -24,12 +24,11 @@ module Locabulary arr = sub_facets.shift key_struct...
Adding guard condition to improve legibility
ndlib_locabulary
train
rb
520423961e29df4b43a935ff56300d14e410b8b8
diff --git a/dependencies/deps_test.go b/dependencies/deps_test.go index <HASH>..<HASH> 100644 --- a/dependencies/deps_test.go +++ b/dependencies/deps_test.go @@ -511,7 +511,6 @@ func assertRefSliceEq(t *testing.T, exp, result []ast.Ref) { r := result[i] if e.Compare(r) != 0 { t.Fatalf("Expected refs %v, got ...
fix minor code unreachability error (#<I>)
open-policy-agent_opa
train
go
ba5c8ad3a286e695c390fa6779e5ff8a48cadd08
diff --git a/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java b/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java index <HASH>..<HASH> 100644 --- a/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java +++ b/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java @@ -144,6 +14...
[Java] Update consumer position when a subscription is removed to ensure consumption is not missed.
real-logic_aeron
train
java
bbd6a7e88198a266238c969189a84087f41ace26
diff --git a/packages/veritone-widgets/src/widgets/UserProfile/index.js b/packages/veritone-widgets/src/widgets/UserProfile/index.js index <HASH>..<HASH> 100644 --- a/packages/veritone-widgets/src/widgets/UserProfile/index.js +++ b/packages/veritone-widgets/src/widgets/UserProfile/index.js @@ -180,6 +180,9 @@ export cl...
st correct params for avatar filepicker
veritone_veritone-sdk
train
js
0a531b438533b932f99c972970585f990fe174fa
diff --git a/flask_raml.py b/flask_raml.py index <HASH>..<HASH> 100644 --- a/flask_raml.py +++ b/flask_raml.py @@ -98,8 +98,10 @@ class API(raml.API): result.extend((uri, method) for method in resource['methodsByName'] if method.upper() not in methods) return result - def abort(self, status, ...
feat: allow abort without response body
salsita_flask-raml
train
py
6c8774eed88451e1ee479c8d37a426b2854f1ccf
diff --git a/Gemfile.lock b/Gemfile.lock index <HASH>..<HASH> 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -38,6 +38,7 @@ DEPENDENCIES bundler (~> 1.0.0) factory_girl hashie + i18n jeweler (~> 1.6.4) money nokogiri diff --git a/lib/fletcher.rb b/lib/fletcher.rb index <HASH>..<HASH> 100644 --- a/li...
Added Fletcher.root and Fletcher.version
hulihanapplications_fletcher
train
lock,rb,rb
485da1ae1d83246306acc4ec5458cb470a93dd20
diff --git a/lib/mailman/application.rb b/lib/mailman/application.rb index <HASH>..<HASH> 100644 --- a/lib/mailman/application.rb +++ b/lib/mailman/application.rb @@ -131,9 +131,10 @@ module Mailman begin connection.connect connection.get_messages - connection.disconnect ...
Always disconnect in polling loop (even if exception was raised) in order to prevent crashes in underlying POP3 receiver which does not handle multiple connections well
mailman_mailman
train
rb
c7151e8a97b1bd1b0d29545ac04228c0c7b089d3
diff --git a/ebooklib/epub.py b/ebooklib/epub.py index <HASH>..<HASH> 100644 --- a/ebooklib/epub.py +++ b/ebooklib/epub.py @@ -1260,6 +1260,7 @@ class EpubReader(object): def read_file(self, name): # Raises KeyError + name = os.path.normpath(name) return self.zf.read(name) def _lo...
Fix relative path resolving for manifest containing ".." Fixes #<I>
aerkalov_ebooklib
train
py
b71d6266999d34e58c4d46e1bb67599af2c7d0d3
diff --git a/src/main/sources/GA4GHDataSource.js b/src/main/sources/GA4GHDataSource.js index <HASH>..<HASH> 100644 --- a/src/main/sources/GA4GHDataSource.js +++ b/src/main/sources/GA4GHDataSource.js @@ -70,11 +70,17 @@ function create(spec: GA4GHSpec): AlignmentDataSource { interval = expandRange(interval); + ...
GA4GHDataSource only requests reads not in cache
hammerlab_pileup.js
train
js
f9027568d30f541229ad9fc13af21fec0ea58f96
diff --git a/Lib/fontmake/compatibility.py b/Lib/fontmake/compatibility.py index <HASH>..<HASH> 100644 --- a/Lib/fontmake/compatibility.py +++ b/Lib/fontmake/compatibility.py @@ -69,9 +69,13 @@ class CompatibilityChecker: logger.debug(f"All fonts had same {what} in {context}") return True ...
CompatibilityChecker: make large error messages more concise
googlefonts_fontmake
train
py
162ab7059b1bce34c6218a293316b9d5f7e3be03
diff --git a/themoviedb.js b/themoviedb.js index <HASH>..<HASH> 100644 --- a/themoviedb.js +++ b/themoviedb.js @@ -441,7 +441,7 @@ theMovieDb.credits = { theMovieDb.common.client( { - url: "credit/" + options.id + theMovieDb.common.generateQuery(options) + u...
Fix of credits-function and getTaggedImages added
cavestri_themoviedb-javascript-library
train
js
4c522fb73b752f0ef8550eb1f0c1a696550156a2
diff --git a/extra/src/org/droidparts/preference/MultiSelectListPreference.java b/extra/src/org/droidparts/preference/MultiSelectListPreference.java index <HASH>..<HASH> 100644 --- a/extra/src/org/droidparts/preference/MultiSelectListPreference.java +++ b/extra/src/org/droidparts/preference/MultiSelectListPreference.ja...
Fixed MultiSelectPreference to support empty string as value.
droidparts_droidparts
train
java
28f69d39ece9a086d28c4c2a5abd3e33224165ed
diff --git a/lib/discordrb/events/message.rb b/lib/discordrb/events/message.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/events/message.rb +++ b/lib/discordrb/events/message.rb @@ -14,10 +14,11 @@ module Discordrb::Events def content; @message.content; end alias_method :text, :content def timestamp...
Add another utility method to MessageEvent
meew0_discordrb
train
rb
440e7dfb61ddff576ed8fec346990fee053d8bf0
diff --git a/test/integration/sanity/systemproxy.test.js b/test/integration/sanity/systemproxy.test.js index <HASH>..<HASH> 100644 --- a/test/integration/sanity/systemproxy.test.js +++ b/test/integration/sanity/systemproxy.test.js @@ -121,7 +121,7 @@ describe('systemProxy', function () { }); }); ...
Remove .only from systemproxy tests
postmanlabs_postman-runtime
train
js
cf5552e441e69383b3e0d06c31f22efb74acf240
diff --git a/services/service_broker_lifecycle.go b/services/service_broker_lifecycle.go index <HASH>..<HASH> 100644 --- a/services/service_broker_lifecycle.go +++ b/services/service_broker_lifecycle.go @@ -60,8 +60,7 @@ var _ = ServicesDescribe("Service Broker Lifecycle", func() { Expect(plans).To(Say(broker.Sync...
Remove not needed timeout from Wait() [#<I>]
cloudfoundry_cf-acceptance-tests
train
go
af6c24254ef4a357eb5d3505f47961d836e51c00
diff --git a/src/main/java/com/launchkey/sdk/auth/AuthenticationManager.java b/src/main/java/com/launchkey/sdk/auth/AuthenticationManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/launchkey/sdk/auth/AuthenticationManager.java +++ b/src/main/java/com/launchkey/sdk/auth/AuthenticationManager.java @@ -163,7...
Make app_pins optional when parsing auth package in response
iovation_launchkey-java
train
java
c58fd62d7c7dc6b1452fee8e4c0d138c11ed385c
diff --git a/lib/hexo/scaffold.js b/lib/hexo/scaffold.js index <HASH>..<HASH> 100644 --- a/lib/hexo/scaffold.js +++ b/lib/hexo/scaffold.js @@ -10,6 +10,7 @@ function Scaffold(context) { Scaffold.prototype.defaults = { normal: [ + '---', 'layout: {{ layout }}', 'title: {{ title }}', 'date: {{ dat...
Update scaffold.js to use the latest style of yaml
hexojs_hexo
train
js
e8e46c45a0cda5380f7afc5b08624d45364d171f
diff --git a/netort/resource.py b/netort/resource.py index <HASH>..<HASH> 100644 --- a/netort/resource.py +++ b/netort/resource.py @@ -7,7 +7,7 @@ import hashlib import serial import yaml import socket -from urlparse import urlparse +from six.moves.urllib.parse import urlparse from contextlib import closing logg...
urlparse was renamed in python 3 'from six.moves.urllib.parse import urlparse' should work in python 2 and 3
load-tools_netort
train
py
9c6e5c7d354299a695433b2944871a9f6f8b3b77
diff --git a/notification/notification.go b/notification/notification.go index <HASH>..<HASH> 100644 --- a/notification/notification.go +++ b/notification/notification.go @@ -117,7 +117,7 @@ func (s *Service) Send(ctx context.Context, msg Message) { msgID := goauuid.UUID(msg.MessageID) resp, err := cl.SendNotif...
Forward X-Request-ID header to Notification call (#<I>) Helps trace the original call that caused the notification service invocation
fabric8-services_fabric8-wit
train
go
63e734ed763d4c8fe769d98d818ede81fa429b7a
diff --git a/lib/sailthru.js b/lib/sailthru.js index <HASH>..<HASH> 100644 --- a/lib/sailthru.js +++ b/lib/sailthru.js @@ -409,4 +409,13 @@ return typeof result === "object" ? result : child; })(SailthruClient, args, function() {}); }; + exports.createClient = function() { + var args; + args = 1 <...
createClient is better than createSailthruClient
sailthru_sailthru-node-client
train
js
6aa9cdb3bb90e7b356a129ce26f9ddd2ef6c723f
diff --git a/lib/tools.js b/lib/tools.js index <HASH>..<HASH> 100644 --- a/lib/tools.js +++ b/lib/tools.js @@ -57,6 +57,16 @@ async function execProgram (bin, arg, opt) { /* public */ +function isDramatic(msg) { + if (msg.indexOf('insert_dylib') !== -1) { + return false; + } + if (msg.indexOf('7z') !== -1) {...
Fix race condition and make 7z check not dramatic
nowsecure_node-applesign
train
js
6865f73b9124eb7c89320f31bd893648a7819653
diff --git a/activejob/lib/active_job/queue_adapters/async_adapter.rb b/activejob/lib/active_job/queue_adapters/async_adapter.rb index <HASH>..<HASH> 100644 --- a/activejob/lib/active_job/queue_adapters/async_adapter.rb +++ b/activejob/lib/active_job/queue_adapters/async_adapter.rb @@ -31,7 +31,7 @@ module ActiveJob ...
[ci skip] Fix link to Concurrent::ThreadPoolExecutor docs
rails_rails
train
rb
660f8bbb0193d471d8c2ef0c14f4f21f4a58c7c8
diff --git a/gcloud/dns/test_zone.py b/gcloud/dns/test_zone.py index <HASH>..<HASH> 100644 --- a/gcloud/dns/test_zone.py +++ b/gcloud/dns/test_zone.py @@ -349,10 +349,12 @@ class TestManagedZone(unittest2.TestCase): RESOURCE = self._makeResource() conn = _Connection(RESOURCE) client = _Client...
Update 'zone.dns_name' during 'zone.reload'. Closes #<I>.
googleapis_google-cloud-python
train
py,py
ed721fb7bf7e2565acf23442fe5d45d556cfb7a4
diff --git a/Resources/Private/JavaScript/Host/Sagas/System/index.js b/Resources/Private/JavaScript/Host/Sagas/System/index.js index <HASH>..<HASH> 100644 --- a/Resources/Private/JavaScript/Host/Sagas/System/index.js +++ b/Resources/Private/JavaScript/Host/Sagas/System/index.js @@ -11,7 +11,6 @@ import {ui} from 'Host/...
CLEANUP: Remove an unused logging statement
neos_neos-ui
train
js
4fa18f24c2ecf53da7b80e38f57b30e4b10fcda2
diff --git a/src/Layout/Layout.js b/src/Layout/Layout.js index <HASH>..<HASH> 100644 --- a/src/Layout/Layout.js +++ b/src/Layout/Layout.js @@ -66,6 +66,7 @@ function generateGutter(theme, breakpoint) { styles[`gutter-${breakpoint}-${gutter}`] = { margin: -gutter / 2, + width: `calc(100% + ${gutter}px...
[Layout] Backport a fix at Doctolib for Chrome (#<I>)
mui-org_material-ui
train
js
9e7d6a432359aef7aff57cbcf0e0158be09ae395
diff --git a/examples/Footer.js b/examples/Footer.js index <HASH>..<HASH> 100644 --- a/examples/Footer.js +++ b/examples/Footer.js @@ -2,7 +2,7 @@ import React from 'react'; import Footer from '../src/Footer'; export default -<Footer copyrights="&copy; 2015 Copyright Text" +<Footer copyrights="© 2015 Copyright Text...
Fixed copyright symbol in Footer docs
react-materialize_react-materialize
train
js
5dc08cbba82df4f27413ead1714f10f2493b5058
diff --git a/api/shell_test.go b/api/shell_test.go index <HASH>..<HASH> 100644 --- a/api/shell_test.go +++ b/api/shell_test.go @@ -52,6 +52,7 @@ func (s *S) TestAppShellWithAppName(c *check.C) { shells = s.provisioner.Shells(unit.Name) return len(shells) == 1 }) + c.Assert(err, check.IsNil) c.Assert(shells[0]...
api: check for error in WaitCondition calls Ooops x)
tsuru_tsuru
train
go
b7c7739252dd28cdaf171c6cec6654c4e3c4cb4d
diff --git a/customxmlelement.php b/customxmlelement.php index <HASH>..<HASH> 100644 --- a/customxmlelement.php +++ b/customxmlelement.php @@ -81,6 +81,11 @@ class CustomXMLElement { 'marc' => 'http://www.loc.gov/MARC21/slim' );*/ $this->namespaces = array(); + + if ($elem == false...
throw error if created without any content
danmichaelo_quitesimplexmlelement
train
php
967515d3eb85e3c10413a74a2ca1958bf35961b3
diff --git a/core/PHPRocks/Configuration.php b/core/PHPRocks/Configuration.php index <HASH>..<HASH> 100644 --- a/core/PHPRocks/Configuration.php +++ b/core/PHPRocks/Configuration.php @@ -23,7 +23,8 @@ final class Configuration{ private $environment; /** - * @param \PHPRocks\Configuration $path + * @...
type hint requires the explicit name of the class instead of using self
daniel-aranda_PHP-Rocks
train
php
bde255cdac0674d76389fc3b65dd76df7c2170de
diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/data.rb +++ b/lib/discordrb/data.rb @@ -657,6 +657,9 @@ module Discordrb attr_reader :colour alias_method :color, :colour + # @return [Integer] the position of this role in the hierarchy + attr_r...
Add a reader for a role's position
meew0_discordrb
train
rb
e9928b2b1db4a81dc75d4bd66fdd9bda61cdb717
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -149,10 +149,10 @@ Server.prototype.origins = function(v){ this._origins = v; var self = this; if (!this.eio) return; - this.eio.allowRequest = function(req) { + this.eio.allowRequest = function(req,...
Switched to async allowRequest callback in engine.io for setting the allowed origins
socketio_socket.io
train
js
c482b3e3e7cfef27c9ee48cfd3664e5b20241f9b
diff --git a/test/unit/platforms/os_detect_test.rb b/test/unit/platforms/os_detect_test.rb index <HASH>..<HASH> 100644 --- a/test/unit/platforms/os_detect_test.rb +++ b/test/unit/platforms/os_detect_test.rb @@ -154,16 +154,6 @@ describe "os_detect" do end end - describe "windows" do - it "sets the...
Move windows detection test outside of debian block Moves the windows test into it's own block since it's not part of the set of debian tests.
inspec_train
train
rb
f32f10bc6d22e9288ab6f3b8e6ca11208c71a351
diff --git a/deis/__init__.py b/deis/__init__.py index <HASH>..<HASH> 100644 --- a/deis/__init__.py +++ b/deis/__init__.py @@ -6,4 +6,4 @@ the api, provider, cm, and web Django apps. from __future__ import absolute_import -__version__ = '0.13.0' +__version__ = '0.13.1'
chore(release): update version to <I>
deis_controller-sdk-go
train
py
e4d8fec76ffc152bfa32071a36522e9852672549
diff --git a/src/Joomlatools/Console/Command/Site/Create.php b/src/Joomlatools/Console/Command/Site/Create.php index <HASH>..<HASH> 100644 --- a/src/Joomlatools/Console/Command/Site/Create.php +++ b/src/Joomlatools/Console/Command/Site/Create.php @@ -195,7 +195,7 @@ EOF public function check(InputInterface $inpu...
Allow target directory to exist if it is empty Alter the site existence check for the site:create command to allow the target directory to exist as long as it is empty. This is useful when the user is manually managing their virtual hosts, as they won't have to delete their webroot directory when using --use-webroot-...
joomlatools_joomlatools-console
train
php
a74d809de90cfc5084610a808eb4d4c7ed2be36f
diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java b/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java index <HASH>..<HASH> 100644 --- a/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java +++ b/richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java @@ -1...
Minor optimization: ParagraphBox only observes caretVisible property when it has the caret.
FXMisc_RichTextFX
train
java
f0dbcb4752e2ad0d641835fc0e77043572f53de1
diff --git a/src/utils/handle-pinch.js b/src/utils/handle-pinch.js index <HASH>..<HASH> 100644 --- a/src/utils/handle-pinch.js +++ b/src/utils/handle-pinch.js @@ -47,7 +47,7 @@ export const scaleFactor = (scale: number, factor: number, opts: Object) => { const originalFactor = factor; const zoomFactor = factor * ...
adds back min and max values for factor as we need to control so the user cant pinch to much
houseofradon_pinchit
train
js
c688dc7045ffedcf4827d8a3729332807d7c0f8e
diff --git a/src/main/java/technology/tabula/CommandLineApp.java b/src/main/java/technology/tabula/CommandLineApp.java index <HASH>..<HASH> 100644 --- a/src/main/java/technology/tabula/CommandLineApp.java +++ b/src/main/java/technology/tabula/CommandLineApp.java @@ -335,7 +335,8 @@ public class CommandLineApp { ...
clarify -a command's coordinate order
tabulapdf_tabula-java
train
java
77b88cda81277de3adf39029231e962402651109
diff --git a/src/Core/Content/Media/Aggregate/MediaThumbnailSize/MediaThumbnailSizeStruct.php b/src/Core/Content/Media/Aggregate/MediaThumbnailSize/MediaThumbnailSizeStruct.php index <HASH>..<HASH> 100644 --- a/src/Core/Content/Media/Aggregate/MediaThumbnailSize/MediaThumbnailSizeStruct.php +++ b/src/Core/Content/Media...
NTR - Fix MediaThumbnailSizeStruct
shopware_platform
train
php
e7b941484a8d23fc74eaaa663672795c257fa4f9
diff --git a/javascript/firefox-driver/js/firefoxDriver.js b/javascript/firefox-driver/js/firefoxDriver.js index <HASH>..<HASH> 100644 --- a/javascript/firefox-driver/js/firefoxDriver.js +++ b/javascript/firefox-driver/js/firefoxDriver.js @@ -770,13 +770,20 @@ function getVisibleCookies(location) { return currentP...
firefox: It appears that cookie extra filtering by hostname was important.
SeleniumHQ_selenium
train
js
4156ea6174a5ca1ff61dcb0d8cb05f104a23c94d
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -349,6 +349,7 @@ describe('Array', function() { }); it('should not be susceptible to call stack limits', function() { + this.timeout(0); var expected = []; var array = []; ...
test: Disable timeout for call stack test
nwoltman_pro-array
train
js
895e9162658b899df4cc81916523f519bc787986
diff --git a/lib/wizard.js b/lib/wizard.js index <HASH>..<HASH> 100644 --- a/lib/wizard.js +++ b/lib/wizard.js @@ -31,10 +31,6 @@ module.exports = function(options, callback) { { name: 'mean-admin', checked: true - }, { - name: 'tokens' - }, { - name: 'upload' } ...
Remove `tokens` and `upload` for now until we figure out the problem with bower in `postinstall` as detailed in #<I>
linnovate_mean-cli
train
js
a929afe573abb998fd189deebea4a1e30bdd6969
diff --git a/lib/client.js b/lib/client.js index <HASH>..<HASH> 100644 --- a/lib/client.js +++ b/lib/client.js @@ -623,7 +623,7 @@ class Client { * @api private */ joseSecret(alg) { - if (String(alg).match(/^A(128|192|256)(GCM)?KW$/)) { + if (String(alg).match(/^(?:A|PBES2.+)(\d{3})(GCM)?KW$/)) { ...
fix PBES2 encryption to use derived symmetrical key too
panva_node-openid-client
train
js
c96b9f5a58968abfbf2ba776e0558e56d6b0059a
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ import sys import os import mock -MOCK_MODULES = ['cython'] +MOCK_MODULES = ['cython', 'yara', 'zmq'] for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock.Mock()
adding other modules to mock so that import doesnt cause issues #<I>
SuperCowPowers_workbench
train
py
5c53b29b765a985d76382a7a8da3c749c7c53ad8
diff --git a/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLUtils.java b/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLUtils.java index <HASH>..<HASH> 100644 --- a/dev/com.ibm.ws.channel.ssl/src/com/ibm/ws/channel/ssl/internal/SSLUtils.java +++ b/dev/com.ibm.ws.channel.ssl/src/com...
Adding back imports that were formatted out by IDE
OpenLiberty_open-liberty
train
java
b17f30b5b841d29b558998b95f940458455b534c
diff --git a/java/server/src/org/openqa/grid/web/Hub.java b/java/server/src/org/openqa/grid/web/Hub.java index <HASH>..<HASH> 100644 --- a/java/server/src/org/openqa/grid/web/Hub.java +++ b/java/server/src/org/openqa/grid/web/Hub.java @@ -164,12 +164,12 @@ public class Hub { public void start() throws Exception { ...
Make the jettyMaxThreads parameter actually be effective Calling server.start() before setting a new thread pool caused the new thread pool to be ignored. Moved the call to server.start() to after the thread pool has been configured, which now makes the server use the newly configured thread pool instead of the defaul...
SeleniumHQ_selenium
train
java
b51e138b51b7ef4133d51763581a211046dfc600
diff --git a/workload/status/list.go b/workload/status/list.go index <HASH>..<HASH> 100644 --- a/workload/status/list.go +++ b/workload/status/list.go @@ -100,8 +100,6 @@ func (c *ListCommand) Run(ctx *cmd.Context) error { } // Display any error, but continue to print info if some was returned. fmt.Fprintf(ctx...
Do not fail if no payloads are returned from the API.
juju_juju
train
go
754d5ea48eac6f4fc3ea21695f11d4098251145d
diff --git a/uproot/interp/auto.py b/uproot/interp/auto.py index <HASH>..<HASH> 100644 --- a/uproot/interp/auto.py +++ b/uproot/interp/auto.py @@ -193,6 +193,9 @@ def interpret(branch, swapbytes=True): if len(branch.fBranches) > 0 and all(len(x.fLeaves) == 1 and x.fLeaves[0].fLeafCount is branch.fLeaves[0]...
Detects as TStreamerObject. Need to change that to actual object
scikit-hep_uproot
train
py
c8b8abc997642ffccd0a022d58c42f206b1885b2
diff --git a/src/main/java/com/workplacesystems/queuj/process/ProcessImplServer.java b/src/main/java/com/workplacesystems/queuj/process/ProcessImplServer.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/workplacesystems/queuj/process/ProcessImplServer.java +++ b/src/main/java/com/workplacesystems/queuj/process/...
Don't updateRunError during initialisation if status is already RUN_ERROR as doing so increments attempt count when it shouldn't be.
workplacesystems_queuj
train
java
1170a64cef98528ffdbe3168a7d4f767e135c7b8
diff --git a/adapters/memory.js b/adapters/memory.js index <HASH>..<HASH> 100644 --- a/adapters/memory.js +++ b/adapters/memory.js @@ -68,7 +68,7 @@ class Memory extends Connection { return row; }); case 'update': - this.query(query).forEach(row => Object.assign(row, query._sets)); + ...
fixed persisting for update and delete on memory adapter
xinix-technology_node-norm
train
js
634bf2be56fcfebba0f4051af4e24906898bca8d
diff --git a/flux_led/base_device.py b/flux_led/base_device.py index <HASH>..<HASH> 100644 --- a/flux_led/base_device.py +++ b/flux_led/base_device.py @@ -367,6 +367,9 @@ class LEDENETDevice: assert raw_state is not None if self.dimmable_effects and self._mode == MODE_PRESET: + if self.pr...
Fix effect brightness reporting for A2,A3 models (#<I>)
Danielhiversen_flux_led
train
py